Macros & Excel VBA

Excel VBA to Protect Sheet but Allow to Select Locked Cells (2 Examples)

To protect the sheet and allow select locked cells to edit, we are going to use the dataset below. The dataset contains some employee names in column ...

Excel VBA to Protect Range of Cells (3 Examples)

We have a dataset that contains formulas in the Savings column and the rest are values. Method 1 - Protect a Certain Range of Cells ...

Send Reminder Email Automatically from an Excel Worksheet Using VBA

The sample dataset below includes the emails of various people, as well as the deadlines they must meet for various reasons. We'll use a VBA macro to ...

Excel VBA: Turn Off Screen Update

It’s an important issue for all of us while working with VBA in Excel, to turn off the screen update. In this article, I’ll show you how you can turn ...

Excel VBA Save as File Format (12 Suitable Examples)

To illustrate how to Save as in various ways using VBA, we’ll use the following dataset containing the Salesman, Product, and Net Sales data of a ...

Excel VBA: Save and Close Workbook (5 Suitable Examples)

For this tutorial, we have taken a dataset consisting of 3 columns: “Name”, “Born”, and “Latest Work”. This dataset represents 6 people’s birth year ...

How to Save Macros in Excel Permanently (2 Suitable Ways)

Excel We sometimes need to perform the same thing or use the same formula in our Excel workbooks. In this regard, we can automate our work by ...

Excel VBA: Check If a Sheet Exists (2 Simple Methods)

One of the many things that we can accomplish using VBA in Excel is that we can check if a particular sheet exists in a workbook or not. In this ...

How to a Save Workbook in a Specific Folder Using VBA in Excel (4 Methods)

The below dataset consists of 3 columns: Name, Car Model, and Car Maker. This dataset represents the car information of 6 employees car information ...

How to Save VBA Code in Excel (3 Suitable Methods)

Method 1 - Save a VBA Code with an Excel Workbook You can save the full workbook with macros. But you have to use another format to keep the macros. ...

How to Write to a Text File Using Excel VBA

In this article, I’ll show you how you can write to a text file using VBA in Excel. How to Write to a Text File Using Excel VBA (Quick View) ...

How to Save a Worksheet as a New File Using Excel VBA

  Excel VBA: Save a Worksheet as a New File (Quick View) Sub Save_Worksheet_as_New_File() Sheet_Name = "Sheet1" New_File = "New_Sheet1" ...

Excel VBA: Check If a File Exists or Not

One of the most advantageous uses of Excel VBA in our day-to-day life is that we can check if a file exists on our machine or not using it. In this ...

Excel Macro to Goal Seek for Multiple Cells (3 Methods)

  Method 1 - Using Macro to Change Goal Seek for Multiple Cells Use ALT+F11 or go to the Developer tab and select Visual Basic to open ...

Send Email from Excel VBA without Outlook: 4 Suitable Examples

Method 1 - Sending Single Email from Gmail Account Using Excel VBA  Steps: Go to Developer >> Visual Basic  The VBA window will ...

Close the CTA

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo