Menu Close

Work with Excel 2010 VBA

  1. Enable VBA Editor if not enabled

Open Excel Options window from File menu and check the Developer

 

Figure 1

 

  1. Open VBA editor

Click Developer on Excel 2010, the Visual Basic button will appear on the top left. Click on “Visual Basic” to open the VBA editor

Figure 2
  1. Lock the VBA code from view for any reasons

Right click the mouse on VBAProject (Book1) and select VBAProject Properties to open the property window.

Figure 3

 

Select the Protection page, type the password and check  “Lock project for viewing”

 

Figure 4
  1. Write the VBA code, debug and run
  2. Add the GUI

    Figure 5
  3.  Save the Excel as the Macros enabled file type (xlsm)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy This Password *

* Type Or Paste Password Here *

18,519 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>