Sep 27, 2006 #1 kenguru Programmer May 14, 2004 173 RO Hello, How can i return the number of the sheet ABC? I tryed: drb=Sheet("ABC").Names.Count but it didn't work. Thank you, Kenguru
Hello, How can i return the number of the sheet ABC? I tryed: drb=Sheet("ABC").Names.Count but it didn't work. Thank you, Kenguru
Sep 27, 2006 #2 PHV MIS Nov 8, 2002 53,708 FR A starting point: For drb = 1 To Sheets.Count If Sheets(drb).Name = "ABC" Then Exit For Next Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
A starting point: For drb = 1 To Sheets.Count If Sheets(drb).Name = "ABC" Then Exit For Next Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Sep 27, 2006 2 #3 AnotherHiggins Technical User Nov 25, 2003 6,259 US drb= ActiveSheet.Index [tab]or drb= Sheets("abc").Index [tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ181-2886 before posting. Upvote 0 Downvote
drb= ActiveSheet.Index [tab]or drb= Sheets("abc").Index [tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ181-2886 before posting.
Sep 27, 2006 Thread starter #4 kenguru Programmer May 14, 2004 173 RO Thanks, it works Upvote 0 Downvote
Sep 28, 2006 #5 AnotherHiggins Technical User Nov 25, 2003 6,259 US [tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ181-2886 before posting. Upvote 0 Downvote
[tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ181-2886 before posting.