Close a workbook using VBA in Microsoft Excel

In this article we will learn how to excel close workbook using VBA in Microsoft Excel 2010. After your VBA macro / code has performed all the requ...

Log files using VBA in Microsoft Excel

In computers, a log file is a file that records either events that occur in an operating system or other software runs, or messages between different ...

Browsing folder for selecting folder using VBA in Microsoft Excel

In this article, we have created procedure which is used for displaying dialog box, which is used for browsing through folder for selecting folder. T...

Using Dialog box for opening and saving the workbook

We already know how to open or save an Excel file in VBA. We simply use the Open and SaveAs method of Workbook object. But that requires hard-coding o...

List files in a folder using VBA in Microsoft Excel

  In this article, we will create a macro to list all the files within the folder.     On running the macro, file name ...

List details of all the files within a folder using VBA in Microsoft Excel

In this article, we will create a macro to gather details of all the files within a folder. Before running the macro, we need to specify the path of ...

Extracting file name and folder name from the file path using VBA in Microsoft Excel

  In this article, we have shared VBA code for writing a custom function for extracting the file name and folder name from the file path. Raw d...

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.