Alt + F11 - Enter Password 'abc'

  • Thread starter Thread starter Farah
  • Start date Start date
F

Farah

Hi,

Can i please have a macro, which will do the followings:

- Go to Alt + F11
- Type my Workbook Password (i.e. 'abc')

i think with the sendkeys method.

Kind Regards,
Farah
 
Hello Farah,

I am not sure I understand what you want to do. Do you want to create a
macro to open a password protected workbook automatically? Why do you
want to open the Visual Basic Editor (Alt + F11)? Let me know so I can
help.

Sincerely,
Leith Ross
 
Thank you for your post.

I actually got what i was looking for.

Can you please see if i can get some help on Deleting all VB codes in
my workbook with a code ?

Thank you.
Sana.
 
Hi Sana,

See Chip Pearson's VBE programming page at:

http://www.cpearson.com/excel/vbe.htm

See particularly the section entitled:

'Deleting All VBA Code In A Project'.

Note, however, Chip's instructions (at the top of the page) on setting a
reference to the Microsoft Visual Basic For Applications Extensibility
library.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top