Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Getting the index number by supplying worksheet name


Hie

lets say the worksheet name is "sheet1", how do i get the index numbe
of that particular worksheet?

thankx in advanc

--
ajitpalsingh20
-----------------------------------------------------------------------
ajitpalsingh200's Profile: http://www.excelforum.com/member.php...fo&userid=1615
View this thread: http://www.excelforum.com/showthread.php?threadid=31998

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Getting the index number by supplying worksheet name

One way:

Dim nIndex As Long
nIndex = Worksheets("sheet1").Index


In article ,
ajitpalsingh200 wrote:

lets say the worksheet name is "sheet1", how do i get the index number
of that particular worksheet?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Column index number Steve Excel Discussion (Misc queries) 6 September 1st 09 07:37 PM
Column index number helpwanted Excel Discussion (Misc queries) 2 January 19th 09 05:36 PM
lookup row index number Helen Excel Discussion (Misc queries) 2 August 31st 07 06:04 PM
Retrieve Row index number loren.pottinger Excel Discussion (Misc queries) 6 August 30th 06 08:07 PM
having one more than one column index number Angel aAlegria Excel Worksheet Functions 3 August 20th 05 02:32 AM


All times are GMT +1. The time now is 07:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"