Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Return name of current worksheet


hi,

On Error Resume Next
ActiveSheet.Name = "Raw data"

Mike

"Newbie_nick" wrote:

I have data in numerous CSV files, and when I open them in Excel, the
worksheet name is the same name of the CSV file. Since I have numerous files
all with different names, I would like to write a macro to select the current
sheet and rename it as something generic like "Raw data". I'm sure that this
is an easy request, but I'm struggling with it!

thanks!
Nick

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
Return to Column A and current row ITilerate Excel Programming 2 June 7th 07 10:10 PM
Return to current worksheet Patrick Simonds Excel Programming 2 March 28th 06 08:17 PM
use the current time to return a value [email protected] Excel Discussion (Misc queries) 2 November 28th 05 05:08 PM
use the current time to return a value sd Excel Programming 4 November 28th 05 04:19 PM
Function to return the current Worksheet name? Steve Excel Worksheet Functions 6 June 29th 05 04:36 AM


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