+ Reply to Thread
Results 1 to 2 of 2

Saving CSV to a template

Hybrid View

  1. #1
    Josh O.
    Guest

    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. #2
    David
    Guest

    RE: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1