Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have a macro that opens another workbook and adds data to it, before the data is added a macro in the destination workbook needs to be run so that columns, etc can be added for a new month. I renamed the macro (destination workbook) Auto_Open and tried calling it in the source macro by Workbooks.Open (filePath) Workbooks(fileName).Activate ActiveWorkbook.RunAutoMacros Which:=xlAutoOpen but it never actually runs the macro in the destination workbook called Auto_Open, an ideas? Thanks in advance. -- br_turnbull ------------------------------------------------------------------------ br_turnbull's Profile: http://www.excelforum.com/member.php...o&userid=27479 View this thread: http://www.excelforum.com/showthread...hreadid=478739 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to update a column in a work based on another work sheet | New Users to Excel | |||
how can i automatically generate work order numbers from work orde | Excel Discussion (Misc queries) | |||
Counting dates in multiple work sheets and work books | Excel Discussion (Misc queries) | |||
Is there away to keep "auto save" from jumping to the first work sheet in the work book? | New Users to Excel | |||
xlAutoOpen and GetActiveObject | Excel Programming |