Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Go To First Sheet
Can somebody help me please with VBA coding that activates the firs sheet in a workbook. The trick is the name of the first sheet wil vary, so it cannot be just Sheets("Sheet X").Select. Thanks -- LaraBe ----------------------------------------------------------------------- LaraBee's Profile: http://www.excelforum.com/member.php...fo&userid=3027 View this thread: http://www.excelforum.com/showthread.php?threadid=50644 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Go To First Sheet
sheets(1).select
LaraBee wrote: Can somebody help me please with VBA coding that activates the first sheet in a workbook. The trick is the name of the first sheet will vary, so it cannot be just Sheets("Sheet X").Select. Thanks! -- LaraBee ------------------------------------------------------------------------ LaraBee's Profile: http://www.excelforum.com/member.php...o&userid=30275 View this thread: http://www.excelforum.com/showthread...hreadid=506441 -- Dave Peterson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Go To First Sheet
ActiveWorkbook.Worksheets(1).Activate
-- Kevin Backmann "LaraBee" wrote: Can somebody help me please with VBA coding that activates the first sheet in a workbook. The trick is the name of the first sheet will vary, so it cannot be just Sheets("Sheet X").Select. Thanks! -- LaraBee ------------------------------------------------------------------------ LaraBee's Profile: http://www.excelforum.com/member.php...o&userid=30275 View this thread: http://www.excelforum.com/showthread...hreadid=506441 |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Go To First Sheet
so, it is that simple :-) The 1 in parenthesis represents the sheet position in the workbook -- LaraBe ----------------------------------------------------------------------- LaraBee's Profile: http://www.excelforum.com/member.php...fo&userid=3027 View this thread: http://www.excelforum.com/showthread.php?threadid=50644 |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Go To First Sheet
Yep.
LaraBee wrote: so, it is that simple :-) The 1 in parenthesis represents the sheet position in the workbook? -- LaraBee ------------------------------------------------------------------------ LaraBee's Profile: http://www.excelforum.com/member.php...o&userid=30275 View this thread: http://www.excelforum.com/showthread...hreadid=506441 -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
excel sheet bootom half sheet goes behind top part of sheet | Excel Worksheet Functions | |||
Duplicate sheet, autonumber sheet, record data on another sheet | Excel Worksheet Functions | |||
How do I select price from sheet.b where sheet.a part no = sheet.b | Excel Worksheet Functions | |||
relative sheet references ala sheet(-1)!B11 so I can copy a sheet. | Excel Discussion (Misc queries) | |||
Inserting a row in sheet A should Insert a row in sheet B, removing a row in Sheet A should remove the corresponding row in sheet B | Excel Programming |