Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Please I i'm not good to this so..........
I have this Private Sub Workbook_Open() Run (GetData_Example1) End Sub Is a macro i will have running every time i open the workbook But this is not the way so if some one will answer me then please do it so i can understand it. Thank you Alvin |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
there have you put this macro? It has to go in your workbook module! -- Regards Frank Kabel Frankfurt, Germany Alvin Hansen wrote: Please I i'm not good to this so.......... I have this Private Sub Workbook_Open() Run (GetData_Example1) End Sub Is a macro i will have running every time i open the workbook But this is not the way so if some one will answer me then please do it so i can understand it. Thank you Alvin |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It is in a module call
macroexamples Alvin "Frank Kabel" skrev: Hi there have you put this macro? It has to go in your workbook module! -- Regards Frank Kabel Frankfurt, Germany Alvin Hansen wrote: Please I i'm not good to this so.......... I have this Private Sub Workbook_Open() Run (GetData_Example1) End Sub Is a macro i will have running every time i open the workbook But this is not the way so if some one will answer me then please do it so i can understand it. Thank you Alvin |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
and as Ron stated in your other thread it has to go in the workbook module (called 'ThisWorkbook' in the VBA project bexplorer) -- Regards Frank Kabel Frankfurt, Germany Alvin Hansen wrote: It is in a module call macroexamples Alvin "Frank Kabel" skrev: Hi there have you put this macro? It has to go in your workbook module! -- Regards Frank Kabel Frankfurt, Germany Alvin Hansen wrote: Please I i'm not good to this so.......... I have this Private Sub Workbook_Open() Run (GetData_Example1) End Sub Is a macro i will have running every time i open the workbook But this is not the way so if some one will answer me then please do it so i can understand it. Thank you Alvin |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I know why it dosn't work I open ecxel first and then i open the filw(workbook) If i open the fil(worbook) whitout open excel first then is working Thanks Alvin "Frank Kabel" skrev: Hi there have you put this macro? It has to go in your workbook module! -- Regards Frank Kabel Frankfurt, Germany Alvin Hansen wrote: Please I i'm not good to this so.......... I have this Private Sub Workbook_Open() Run (GetData_Example1) End Sub Is a macro i will have running every time i open the workbook But this is not the way so if some one will answer me then please do it so i can understand it. Thank you Alvin |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
See your other thread Alvin -- Regards Ron de Bruin http://www.rondebruin.nl "Alvin Hansen" wrote in message ... Please I i'm not good to this so.......... I have this Private Sub Workbook_Open() Run (GetData_Example1) End Sub Is a macro i will have running every time i open the workbook But this is not the way so if some one will answer me then please do it so i can understand it. Thank you Alvin |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi again
Please see he This working: Private Sub Workbook_BeforeClose(Cancel As Boolean) GetData_Example1 End Sub This Working: Private Sub Workbook_SheetActivate(ByVal Sh As Object) GetData_Example1 End Sub This not working: Private Sub Workbook_Open() GetData_Example1 End Sub BEst regards alvin "Ron de Bruin" skrev: Hi See your other thread Alvin -- Regards Ron de Bruin http://www.rondebruin.nl "Alvin Hansen" wrote in message ... Please I i'm not good to this so.......... I have this Private Sub Workbook_Open() Run (GetData_Example1) End Sub Is a macro i will have running every time i open the workbook But this is not the way so if some one will answer me then please do it so i can understand it. Thank you Alvin |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sub Macro vrs Function Macro Auto Start | Excel Discussion (Misc queries) | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
macro for auto sum | New Users to Excel | |||
run macro auto | Excel Programming | |||
macro auto run | Excel Programming |