Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default how to get sheet's number it's name

Hi,
is it possible to get sheet's order number if it's name is known (eg.
Sheets("G1") what number is it?)?
thanx

alek_mil
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 515
Default how to get sheet's number it's name

Whilst in Excel, press <Alt<F11 to go to VB. In the left hand window, you
will see a list of the sheet names, with their numbers, eg Orders(Sheet1);
Stock(Sheet2) and Invoice(Sheet3)
--
Hth

Kassie Kasselman


"alekm" wrote:

Hi,
is it possible to get sheet's order number if it's name is known (eg.
Sheets("G1") what number is it?)?
thanx

alek_mil

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default how to get sheet's number it's name

MsgBox Worksheets("G1").Index

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"alekm" wrote in message
...
Hi,
is it possible to get sheet's order number if it's name is known (eg.
Sheets("G1") what number is it?)?
thanx

alek_mil



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
Chart formula style depends on number of sheets.... [email protected] Charts and Charting in Excel 1 December 5th 06 02:55 PM
How to print a selected number of sheets? Rafat Excel Worksheet Functions 0 June 9th 06 02:50 PM
Count the number of sheets. Olle Svensson Excel Discussion (Misc queries) 3 March 13th 06 02:30 PM
Name and number of sheets MB Excel Discussion (Misc queries) 1 March 18th 05 09:53 PM
Automatically number multiple sheets itguyintrainin Excel Discussion (Misc queries) 4 February 3rd 05 11:49 PM


All times are GMT +1. The time now is 07:30 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"