Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DAA
 
Posts: n/a
Default Macro, select Sheet "Number", NOT Sheet Name

Hi,

My macro reads: "Sheets("01-Nov-04 Portfolio
Summary").Select" (referring to Sheet1).

How can I write the macro so Sheet1 will be selected?

I have to change my macro everyday because sheet1's name
changes everyday.

Thank you in advance.

  #3   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
sheets(1).select

--
Regards
Frank Kabel
Frankfurt, Germany

"DAA" schrieb im Newsbeitrag
...
Hi,

My macro reads: "Sheets("01-Nov-04 Portfolio
Summary").Select" (referring to Sheet1).

How can I write the macro so Sheet1 will be selected?

I have to change my macro everyday because sheet1's name
changes everyday.

Thank you in advance.


  #4   Report Post  
DAA
 
Posts: n/a
Default

Thanks a million gentlemen!!!!!!!!!!

-----Original Message-----
try
Sheet1.Select

--
Don Guillett
SalesAid Software

"DAA" wrote in

message
...
Hi,

My macro reads: "Sheets("01-Nov-04 Portfolio
Summary").Select" (referring to Sheet1).

How can I write the macro so Sheet1 will be selected?

I have to change my macro everyday because sheet1's name
changes everyday.

Thank you in advance.



.

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
Select sheet with VB code Dunmarie Excel Discussion (Misc queries) 1 January 12th 05 03:44 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
Macro for multiple charts JS Excel Worksheet Functions 1 November 19th 04 03:44 AM
Naming & renaming a sheet tab Cgbilliar Excel Worksheet Functions 1 November 7th 04 05:57 PM
Why can't my macro use Auto Filter when I told the Sheet Protecti. KC Rippstein Excel Worksheet Functions 1 October 28th 04 06:13 PM


All times are GMT +1. The time now is 04:23 PM.

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"