Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi!
1) If I have a name, saved prior a start my macro eg: MyArray=("Bush","Mitterrand", "Blair") how can I refer to Myarray(1) from VBA to get the following answer: MyArray(1)=Miterrand 2) 1) how can I refer to the value of Screen_Number from VBA. at the moment I am using this code: SUB aa() dim Y Y=Names("Screen_Number").Value Y = Mid(Y, 2, 10) MSGBOX Y END SUB "This works but I suppose there is another better way" Many Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I recover a prior version of a saved document? | Excel Discussion (Misc queries) | |||
Excel E-2007 starts, but Installer also starts 3 times??? | Setting up and Configuration of Excel | |||
How do I run a macro upon saving a file but prior to actual save? | Excel Discussion (Misc queries) | |||
How to remove macro saved on excel folder | Excel Discussion (Misc queries) | |||
Excel Starts up w/a Personal Macro page | Excel Discussion (Misc queries) |