Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am not sure if anyone can help quick enough, but I need some help for
some extra credit due tomorrow morning. I do not know any thing in excel vba so if you can dumb it down some that would be great. Here is what I have to do: 1. create a variable named "OldRegion" and set it to cell c2 2. create a variable named "NewRegion" and set it to cell d21 3. change the text of the status bar to "retriveving data on new...," where NewRegion is the value of the NewRegion variable. 4. Replace all occurences of "OldRegion" with "NewRegion" in cell range A1:F19 5. Set the value of status bar back to false. And here is what I have, but of course it's not working Dim OldRegion OldRegion = Range("C2").Value Dim NewRegion NewRegion = Range("D21").Value Application.StatusBar = "Retrieving Data on NewRegion" Application.StatusBar = False Any help would be great and my parents would be greatfull also...Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Work with the home key. | Excel Discussion (Misc queries) | |||
work from home | Excel Discussion (Misc queries) | |||
How do I take a toolbar created at home and install it at work? | Excel Discussion (Misc queries) | |||
another language in MS office at home and another at work | Excel Worksheet Functions | |||
same workbook different paths (home/work) | Excel Programming |