Macros & Excel VBA

How to Save Excel Macro Files as Filename from Cell Value

Sometimes we need to convert a macro file into other file types like PDF, XLSX, etc. We can convert a macro file into these types of files in many ...

Excel VBA: Return Row Number of Value (5 Suitable Methods)

Sometimes, you want to return the row number of a given value. In that case, VBA can be the best option. In Visual Basic, you can use several ...

Excel VBA: Save Workbook as New File in Same Folder

Sometimes, we may need to save an Excel workbook as a new file in the same folder. We usually do this by using the Save As option in the Excel File ...

How to Clear Contents Without Deleting Formulas Using VBA in Excel

In this article, we will learn to clear contents in Excel without deleting formulas using VBA. Sometimes, we need to clear the contents of the sheet ...

Excel VBA to Clear Contents of Range (3 Suitable Cases)

If you are searching for a solution or some special tricks to clear contents of range with Excel VBA then you have landed in the right place. There ...

How to Open Folder and Select File Using Excel VBA (4 Examples)

The objective of this article is to explain how you can use Excel VBA to open folder and select file. You can open a file dialog box in a specific ...

How to Open Workbook from Path Using Excel VBA (4 Examples)

With Excel VBA you can directly open a workbook from a path. In this article, I will demonstrate how to open a workbook from a path using Excel VBA. ...

How to Save a Copy as XLSX Using Excel VBA (5 Suitable Ways)

In this tutorial, I am going to share with you 5 suitable ways to save a copy of an Excel file in XLSX format using VBA. You can use these methods in ...

Excel Macro to Create New Sheet and Copy Data (4 Examples)

If you want to easily open new worksheets and copy data, using Excel Macro is a perfect choice. In this article, I will show you how to use Excel ...

Excel VBA to Populate Array with Cell Values (4 Suitable Examples)

Sometimes, you may need to populate an Array with cell values in Excel VBA. Thus, I will explain how to populate an Array with cell values in Excel ...

How to Browse for File Path Using Excel VBA (3 Examples)

Need to learn how to browse for a file path using Excel VBA? VBA can automate many mundane tasks in Excel. It can save a lot of time. If you are ...

Excel VBA: Save and Close Workbook Without Prompt

Some Excel files need frequent saving and closing for various reasons. Therefore, Excel VBA save and close workbook without prompt is necessary. ...

How to Open Workbook and Run Macro Using VBA (4 Examples)

Sometimes, we require to open a workbook through VBA code and run a macro from that file. We can do this job using Excel VBA in several ways. In this ...

How to Open Another Workbook and Copy Data with Excel VBA – 4 Examples

You have two Excel files, Copying Data with VBA.xlsm is the Source File containing the data you want to copy, and Sales Report.xlsx is the ...

How to Open File Dialog Default Folder with Excel VBA (3 Ways)

VBA can automate many mundane tasks in Excel. It can save a lot of time. Knowing the default folder location allows us to be certain of where our ...

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo