Home |
Search |
Today's Posts |
#1
|
|||
|
|||
worksheet open
When I open the worksheet.. I want to execute few macros.. (name ... Getdata
, namesheet ,extra) what code do I tupe in the Worksheet_open? |
#2
|
|||
|
|||
worksheet open
Private Sub Workbook_Open() GetData NameSheet Extra '[etc. 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) "flow23" wrote in message ... When I open the worksheet.. I want to execute few macros.. (name ... Getdata , namesheet ,extra) what code do I tupe in the Worksheet_open? |
#3
|
|||
|
|||
worksheet open
There isnt a worksheet_open function, only worksheet_activate etc.
Dont you mean workbook_open ??... a set of macros to run as soo as you open the file as opposed to flitting back-and-forth between the various worksheet tabs ??? "flow23" wrote: When I open the worksheet.. I want to execute few macros.. (name ... Getdata , namesheet ,extra) what code do I tupe in the Worksheet_open? |
#4
|
|||
|
|||
worksheet open
Yes.. as soon as I open the excel file
"Widemonk" wrote: There isnt a worksheet_open function, only worksheet_activate etc. Dont you mean workbook_open ??... a set of macros to run as soo as you open the file as opposed to flitting back-and-forth between the various worksheet tabs ??? "flow23" wrote: When I open the worksheet.. I want to execute few macros.. (name ... Getdata , namesheet ,extra) what code do I tupe in the Worksheet_open? |
#5
|
|||
|
|||
worksheet open
I tried it.. but when I test it.. opening the file.. its gives error. . and
opens the VBcode???? "Bob Phillips" wrote: Private Sub Workbook_Open() GetData NameSheet Extra '[etc. 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) "flow23" wrote in message ... When I open the worksheet.. I want to execute few macros.. (name ... Getdata , namesheet ,extra) what code do I tupe in the Worksheet_open? |
#6
|
|||
|
|||
worksheet open
Do those macros exist? Did you store it where I suggested?
-- HTH RP (remove nothere from the email address if mailing direct) "flow23" wrote in message ... I tried it.. but when I test it.. opening the file.. its gives error. . and opens the VBcode???? "Bob Phillips" wrote: Private Sub Workbook_Open() GetData NameSheet Extra '[etc. 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) "flow23" wrote in message ... When I open the worksheet.. I want to execute few macros.. (name ... Getdata , namesheet ,extra) what code do I tupe in the Worksheet_open? |
#7
|
|||
|
|||
worksheet open
Yes.. the Macro does exisit..
the error message says.... " Expected variable or procedure.. not module" "Bob Phillips" wrote: Do those macros exist? Did you store it where I suggested? -- HTH RP (remove nothere from the email address if mailing direct) "flow23" wrote in message ... I tried it.. but when I test it.. opening the file.. its gives error. . and opens the VBcode???? "Bob Phillips" wrote: Private Sub Workbook_Open() GetData NameSheet Extra '[etc. 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) "flow23" wrote in message ... When I open the worksheet.. I want to execute few macros.. (name ... Getdata , namesheet ,extra) what code do I tupe in the Worksheet_open? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
open workbook on same worksheet | Excel Discussion (Misc queries) | |||
Worksheet Revision Date only once that day | Excel Discussion (Misc queries) | |||
Microsoft Excel Viewer 2003 won't open Microsoft Excel Worksheet | Excel Discussion (Misc queries) | |||
Why does excel create a copy of the worksheet i open | Excel Discussion (Misc queries) | |||
how do i open Excel program without loading a new worksheet? | Excel Discussion (Misc queries) |