Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 77
Default Saving CSV to a template

I am trying to setup a spreadsheet for another office. I need make it
possible to save the csv (overwrite previous file) as an excel worksheet.
And have available the macro I recorded to reformat the csv file.

The person that will be using the other file is not all that computer savy.
So I need to make it as simple as possible.

Any suggestions?

Also, in the macro I will be recording, one of the things it will be doing
is renaming the worksheet tab. The tab will be different, depending on the
tab name the csv file will generate. Is there a way to have the macro rename
the tab regardless of what it is originally?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Saving CSV to a template

Hi Josh,
Hope this will at least help you rename the sheet.
Sub Macro1()
ThisSheet = ActiveSheet.Name
Sheets(ThisSheet).Select
Sheets("Sheet1").Name = "Rename" '<--Rename needs to change appropriately
End Sub

"Josh O." wrote:

I am trying to setup a spreadsheet for another office. I need make it
possible to save the csv (overwrite previous file) as an excel worksheet.
And have available the macro I recorded to reformat the csv file.

The person that will be using the other file is not all that computer savy.
So I need to make it as simple as possible.

Any suggestions?

Also, in the macro I will be recording, one of the things it will be doing
is renaming the worksheet tab. The tab will be different, depending on the
tab name the csv file will generate. Is there a way to have the macro rename
the tab regardless of what it is originally?

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
Saving a Template Dan Excel Discussion (Misc queries) 4 April 24th 07 01:54 PM
saving as a template Keith Excel Discussion (Misc queries) 1 April 15th 07 11:24 PM
saving template Marlis Excel Discussion (Misc queries) 3 September 10th 05 11:09 PM
template for saving passwords mark Excel Discussion (Misc queries) 0 January 31st 05 06:53 PM
template for saving passwords I need templats for passwords Excel Discussion (Misc queries) 0 January 31st 05 06:53 PM


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