This section is for beginners who have no knowledge of Excel Macros or VBA. By end of this session you will be able to Record and Run a Macro and be able to accept the Inputs from the user and show the Popup Messages.

Please follow the same order as given below, it is easy to learn Excel VBA if you follow this order. Since we are explaining these topics with clear examples. And each topic may have link or refer the examples of the previous topics. Hence it is better to follow the same order.

Topics

» Introduction to VBA
» Getting Started with VBA
» VBA Environment
» Recording a Macro
» Writing Your First VBA Macro- Hello World!
» Debugging VBA Code
» Accepting Values (Input Box) & Popup Messages (Message Box)
» Modifying and Commenting Macros or VBA Code
» Executing a Macro
» Macro Security
» Learn Macros with Examples – 15 Basic Macros for Absolute Beginners

Downloads and Useful links

Downloads
» Macro to color the selected Cell

» 15 Excel VBA Macros for Absolute Beginners:
Examples Files is available to download. You can download and explore the examples to start with Excel Macros. We have provided very basic and simple example to deal with basic things of your Excel Tasks.

Useful Links
» Shortcut Keys & Tips
» Excel Limitations and Specifications
» Excel Downloads

Premium Project Management Templates

50+ Professional Project Management Templates!

A Powerful & Multi-purpose Templates for project management. Now seamlessly manage your projects, tasks, meetings, presentations, teams, customers, stakeholders and time. This page describes all the amazing new features and options that come with our premium templates.

PREMIUM TEMPLATES
LIMITED TIME OFFER
ON SALE80% OFF
BROWSE ALL TEMPLATES

50+ Project Management Templates Pack

Excel PowerPoint Word

VIEW DETAILS

Ultimate Project Management Template – Advanced

Excel Template

VIEW DETAILS

ULTIMATE PROJECT MANAGEMENT TEMPLATE

Excel Template

VIEW DETAILS

20+ Excel Project Management Pack

Excel Templates

VIEW DETAILS

20+ PowerPoint Project Management Pack

PowerPoint Templates

VIEW DETAILS

10+ MS Word Project Management Pack

Word Templates

VIEW DETAILS

By Published On: January 1st, 2013Categories: Excel VBATags: ,

Share This Story, Choose Your Platform!

About the Author: PNRao

PNRao is a passionate business analyst and having close to 10 years of experience in Data Mining, Data Analysis and Application Development. This blog is his passion to learn new skills and share his knowledge to make you expertise in Data Analysis (Excel, VBA, SQL, SAS, Statistical Methods, Market Research Methodologies and Data Analysis Techniques).

11 Comments

  1. Rakesh August 6, 2014 at 11:38 AM

    I’d like to have a macro, called Macro1, for example, run every day at 9 AM. It works great on its own from the VB code editor in Access 2010 but I would like it to be able to execute automatically without access being open

    • PNRao August 17, 2014 at 11:19 AM

      Hi Rakesh,
      We can not schedule the macros in Excel, instead you can use Windows task scheduler and run the Excel macros using VBScript.

      Thanks-PNRao!

  2. Balaji February 24, 2015 at 3:28 PM

    hello sir, I required Exam seating arrangement vb coding in excel using Room no, Roll no, Date as inputs

  3. Vasu March 20, 2015 at 12:51 AM

    Hello Sir,

    Please help on this.

    I have set a protection setting in my Thisworkbook, this settings are for different tabs in same workbook with Workbook_Open event.

    Now I want to move all the setting code to other module but I see the event is not working now. This is because of the code moved to module. please suggest me a solution to move this code to different module and setting should applied while book opened.

    Regards,
    Murugan

    • PNRao March 21, 2015 at 3:05 PM

      Hi Vasu,

      You can use the below auto run macro in any module to trigger the procedure while opening the workbook.

      Sub Auto_Open()
      'Your code here
          MsgBox "Auto Open Event"
      End Sub
      

      Thanks-PNRao!

  4. irfan June 7, 2016 at 4:44 PM

    Hi,
    i need h