Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The statement
sheet1.activate activates an explicit worksheet. How can I write the statement for a general sheet number, where the number, n, is a response to an InputBox? Integer n n = InputBox("Which worksheet do you want to jump to?") The code in a statement isn't something I can concatenate as a string variable?? Thanks, Fred Holmes |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
try worksheets(your_number).activate -- Regards Frank Kabel Frankfurt, Germany "Fred Holmes" schrieb im Newsbeitrag ... The statement sheet1.activate activates an explicit worksheet. How can I write the statement for a general sheet number, where the number, n, is a response to an InputBox? Integer n n = InputBox("Which worksheet do you want to jump to?") The code in a statement isn't something I can concatenate as a string variable?? Thanks, Fred Holmes |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Frank,
OP is trying to use an input box to enter a sheet code number and select that sheet. -- Don Guillett SalesAid Software "Frank Kabel" wrote in message ... Hi try worksheets(your_number).activate -- Regards Frank Kabel Frankfurt, Germany "Fred Holmes" schrieb im Newsbeitrag ... The statement sheet1.activate activates an explicit worksheet. How can I write the statement for a general sheet number, where the number, n, is a response to an InputBox? Integer n n = InputBox("Which worksheet do you want to jump to?") The code in a statement isn't something I can concatenate as a string variable?? Thanks, Fred Holmes |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Works just fine.
Many thanks, Fred Holmes On Tue, 6 Apr 2004 01:08:04 +0200, "Frank Kabel" wrote: Hi try worksheets(your_number).activate |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Activate Sheet After Move Macro | Excel Discussion (Misc queries) | |||
Activate the top of sheet | Excel Worksheet Functions | |||
how would activate the previous sheet in macro | Excel Discussion (Misc queries) | |||
Activate sheet event | Excel Programming | |||
Check activate sheet | Excel Programming |