automatically using VBA code in Sheet 1

  • Thread starter Thread starter adeel.ahmad
  • Start date Start date
A

adeel.ahmad

I have written the code in sheet one but when i open excel nothing
happens. Excel should ask the user if he wants to start the program
but it doesnt do anything. But if the toggle through manually through
the code in Sheet1 it works perfectly.

What do i need to do so that it starts automatically when ever i open
excel.

Your help would be greatly appreciated.

AAA
 
Move the code into the ThisWorkbook module and place it in the
Workbook_Open event. Or, you could rename the macro Auto_Open and it
should fire when the workbook is opened.

Hope this helps.
 
Move the code into the ThisWorkbook module and place it in the
Workbook_Open event. Or, you could rename the macro Auto_Open and it
should fire when the workbook is opened.

Hope this helps.

its still not working.. is it possible for me to send u the file. im
sure itll take u a min to figure out
thanks,

aaa
 

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