Results 1 to 3 of 3

Save as Macro

Threaded View

jsantos Save as Macro 07-20-2011, 10:28 PM
protonLeah Re: Save as Macro 07-21-2011, 12:29 AM
jsantos Re: Save as Macro 07-21-2011, 07:31 AM
  1. #1
    Registered User
    Join Date
    09-16-2008
    Location
    Jersey
    Posts
    57

    Save as Macro

    Hi Guys

    I am having some problems when putting a macro together that is meant to refresh a used workbook and then save it.
    What i am doing is in the end of the week i finish a workbook, and i am doing a macro that clears all the old info and once clear i am trying to save it as "Ticket control week(&Menu!F2).
    So the name of the fresh workbook is a set name (Ticket Control Week)with the contents from "F2" in the Menu Tab concatenated.
    Could you tell me where i am going wrong, please

    Code as follows

    Many thanks

    ChDir "C:\Users\Bella\Desktop"
        ActiveWorkbook.SaveAs Filename:="C:\Users\Bella\Desktop\Ticket Control Week (&Menu!F2).xls", FileFormat:=xlExcel8,Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, CreateBackup:=False
    Last edited by jsantos; 07-21-2011 at 07:33 AM. Reason: Added Code Tags

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