Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hi,
I have a macro that sorts a table. what do i need to do to have this macro run every time the workbook is opened? is it simply run XYZ() under the object this workbook? |
#2
![]() |
|||
|
|||
![]()
In Excel, press <Alt<F11, type in Workbookopen and click on search
"kevin" wrote: Hi, I have a macro that sorts a table. what do i need to do to have this macro run every time the workbook is opened? is it simply run XYZ() under the object this workbook? |
#3
![]() |
|||
|
|||
![]()
Sorry, once in VB, click on <F1, and then do the typing
"kevin" wrote: Hi, I have a macro that sorts a table. what do i need to do to have this macro run every time the workbook is opened? is it simply run XYZ() under the object this workbook? |
#4
![]() |
|||
|
|||
![]()
Almost:
Private Sub Workbook_Open() Call XYZ End Sub in the ThisWorkbook module HTH. Best wishes Harald "kevin" skrev i melding ... Hi, I have a macro that sorts a table. what do i need to do to have this macro run every time the workbook is opened? is it simply run XYZ() under the object this workbook? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how can I run a macro when I open a workbook? | Excel Discussion (Misc queries) | |||
Extract specific data into its own workbook via macro? | Excel Discussion (Misc queries) | |||
Playing a macro from another workbook | Excel Discussion (Misc queries) | |||
workbook macro help | Excel Discussion (Misc queries) | |||
Can no open workbook | Excel Worksheet Functions |