View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
JE McGimpsey JE McGimpsey is offline
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?