Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am not sure what you mean by .. after the file has updated its data
automatically ..., but try this Private Sub Workbook_Open() Call myMacro End Sub 'This is workbook event code. 'To input this code, right click on the Excel icon on the worksheet '(or next to the File menu if you maximise your workbooks), 'select View Code from the menu, and paste the code -- HTH RP (remove nothere from the email address if mailing direct) "Mr.T" wrote in message ... Hey! Does anybody know how to write a macro that starts with opening the file, after the file has updated its data automatically? ..my first time working with VBA. Thanks for any help!! -- Mr.T ------------------------------------------------------------------------ Mr.T's Profile: http://www.excelforum.com/member.php...o&userid=28982 View this thread: http://www.excelforum.com/showthread...hreadid=487139 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Minimising the Ribbon in an Auto_Open macro | Excel Discussion (Misc queries) | |||
Auto_Open Macro | Excel Discussion (Misc queries) | |||
The myworkbook.xls Auto_Open() macro won't run if started by a VBS | Excel Programming | |||
Help with SaveAs Macro on Auto_Open | Excel Programming | |||
Auto_Open vs. macro | Excel Programming |