Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Although your problem seems solved now, you might be interested to read
Knowledgebase article ID 843144 for background info Jan Bart "Bradley" wrote: I think that solves my problem. The subs I was calling were in seperate modules. I should just group them in the same module. Will let you know. Thanks Bob and Gary "Bob Phillips" wrote: Gary, They only need to be public if used across modules. If used in separate macros in the same module, private is fine (preferable?). -- HTH Bob Phillips "Gary''s Student" wrote in message ... The arrays need to be public and static. Just DIM them outside the subs, not inside the subs and the values will "live" from sub call to sub call Have a good day -- Gary''s Student "Bradley" wrote: Within a sub procedure two other sub procedures are called consecutively. The first sub procedure feeds values into an array. I need this array with these values to then be used in the second sub procedure. As soon as the first sub procedure is complete the array becomes empty and passes an empty array to the second sub procedure. Thus givign me zero for all my calculations in the second array. Please assist. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
weird saving of a document with macros resulting with macros being transfered to the copy | Excel Programming | |||
convert lotus 123w macros to excel macros | Excel Programming | |||
Macro Size Limit / open macros with macros? | Excel Programming | |||
Macros not appearing in the Tools Macro Macros list | Excel Programming | |||
Suppress the Disable Macros / Enable Macros Dialog | Excel Programming |