Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I have made a macro in a workbook that sorts the data I have. Now, I want this macro to run automatically everytime we open the workbook. Help required. Thanks Gary |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Private Sub Workbook_Open()
'your code here 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 Bob Phillips (remove nothere from the email address if mailing direct) "Gary" wrote in message ... Hi, I have made a macro in a workbook that sorts the data I have. Now, I want this macro to run automatically everytime we open the workbook. Help required. Thanks Gary |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
auto numbering macro | Excel Discussion (Misc queries) | |||
how do I create a macro to auto insert rows? | Excel Worksheet Functions | |||
Auto macro in Excel help | Excel Discussion (Misc queries) | |||
macro for auto sum | New Users to Excel | |||
Auto number / macro creation | Excel Discussion (Misc queries) |