Hello and welcome to my blog!!!

In this blog, I give tutorials on creating Solidworks VBA macros and Visual Basic for Application or VBA for CAD 3D softwares such as Solidworks 3D Software.

These tutorials help you to automate tasks such as open a new document, saving documents, creating Sketches or many other things.

If you want to automate your work in Solidworks 3D software and find it difficult in where to start then this blog will help you.

Below is the list of latest articles I posted.

You can browse through articles according to your need.

If you want to learn How to create Solidworks VBA macros from strating without any prior knowledge of programming then go to Solidworks Macro Guide page and start with listed articles.

I have descibed every line of code in each post so that you can understand its function.

If you found it difficult to understand then please e-mail me at below given e-mail address.

If you want to learn VBA programming language then go to VBA Tutorials page and start with listed articles.

Since I write posts for specific page hence I listed them in their respective pages.

For more about me go to About Me page of this blog.


  • VBA Bug Reduction Tips

    I can’t tell you how to completely eliminate bugs in your programs.

  • Bug Finding

    A bug is an error in your programming. Here I cover the topic of programming bugs — how to identify them and how to remove them from your module.

  • VBA Functions that do more

    A few VBA functions go above and beyond the call of duty. Rather than simply return a value, these functions have some useful side effects.

  • VBA Looping

    The term looping refers to repeating a block of VBA statements numerous times.

  • If-Then-Else and Select Case structure

    If-Then is VBA’s most important control structure. You’ll probably use this command on a daily basis.

  • VBA Functions

    A function essentially performs a calculation and returns a single value.

  • Controlling Program Flow and Making Decisions

    Some VBA procedures start at the code’s beginning and progress line by line to the end, never deviating from this top-to-bottom program flow.

  • Variable Scope

    A variable’s scope determines which modules and procedures can use the variable.

  • Public, Static and Variable's Life

    In the following sections we will discussed about following topics: