Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hello,
I have problem with the sheet macro. so I have this kind of sheet sheet1public public sub getinfo function 1 end sub sheet2 public sub public sub getroom function 2 end sub workbook private sub workbook_open() sheet1.getinfo sheet2.getroom end sub Module1 function Module 2 Function But I have a problem in sheet2 as all macro is executed in sheet1 not in sheet2 why? Ina |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
See answer to your previous posting of this question.
-- Regards, Tom Ogilvy "ina" wrote: hello, I have problem with the sheet macro. so I have this kind of sheet sheet1public public sub getinfo function 1 end sub sheet2 public sub public sub getroom function 2 end sub workbook private sub workbook_open() sheet1.getinfo sheet2.getroom end sub Module1 function Module 2 Function But I have a problem in sheet2 as all macro is executed in sheet1 not in sheet2 why? Ina |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
yes but doesn't work this is the problem I would like to call my file
from vbscript and it is not executing my code; and even if I launch it from excel it is activate only sheet without executing the code Ina |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro for same value in 2 different sheets | Excel Discussion (Misc queries) | |||
run a macro for all sheets | Excel Programming | |||
"With Sheets" Issue - macro on one sheet to affect hidden rows on other sheets | Excel Programming | |||
Macro for filter on protected workbook that works for all sheets, no matter what sheets are named? | Excel Programming | |||
macro for new sheets | Excel Worksheet Functions |