Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use VBA to Display Code

Status
Not open for further replies.

vbMax

Programmer
Jul 16, 2001
92
US
I have an Excel application in which I use a VBA
command to display the VBA code itself. For
example...

Application.Goto Reference:="myProcedure"

However, when the VBA Project is password
protected, I am (obviously) prompted to enter
a password. Does anyone know how I can avoid
this password prompt? I have unsuccessfully
tried the following line...

Application.Goto Reference:="myProcedure", _
Password:="myPassword"

Thanks in advance.
vbMax
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top