Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Multipage and Global variables
Have a multipage form
Up front have delared Option Explicit Public mya1, mya2 Then Sub workbook_open() Worksheets("Answers").Activate mya1 = Range("e2").Value 'mya1 at this stage is holding value Mymain.Show 'mymain is multipage form In mymain first page have group buttons When select button want mya1 to display But mya1 is blank Any clues appreciated |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Multipage and Global variables
From VBE, left tree view. Right click on 'This workbook'. Insert a module and
move your declarations to the there...Save and try.. If this post helps click Yes --------------- Jacob Skaria "Bill" wrote: Have a multipage form Up front have delared Option Explicit Public mya1, mya2 Then Sub workbook_open() Worksheets("Answers").Activate mya1 = Range("e2").Value 'mya1 at this stage is holding value Mymain.Show 'mymain is multipage form In mymain first page have group buttons When select button want mya1 to display But mya1 is blank Any clues appreciated |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Global Variables | Excel Programming | |||
global variables | Excel Programming | |||
global variables | Excel Programming | |||
Global Variables | Excel Programming | |||
global variables | Excel Programming |