+ Reply to Thread
Results 1 to 2 of 2

VBA Macro code to open new worksheet and save multiple versions...

  1. #1
    Registered User
    Join Date
    04-19-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    48

    VBA Macro code to open new worksheet and save multiple versions...

    Hi. My latest project has presented me with a bit of a problem (i.e. A very repetitive, time-consuming and boring task) that ideally I could automate, hopefully with a macro.

    Here is the problem (the solution MAY be very simple, I just might not be able to see it!):

    I'm in Workbook 1, and in sheet 1 ("January") column B&Q contains a list of names. cell A1 contains "1) January". I need a Macro to:

    1) open Workbook 2
    2) save a copy of Workbook 2 with the file name "B1 A1" i.e. "John Smith 1) January"
    3) move to the next name (B2) and repeat until the first blank row (the end of the list of names)

    So that if I have 10 names in column B, once the Macro is complete, I'll have 10
    versions of Workbook 2 saved in a particular folder.

    Would something like this be possible?

    Thanks,
    Paul

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: VBA Macro code to open new worksheet and save multiple versions...

    Change the Path and name of the source workbook and the destination path to suit.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro Code to Open file with dynamic name (and possibly re-save with different name)
    By mm671750 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-27-2013, 01:40 PM
  2. Replies: 1
    Last Post: 04-19-2012, 07:59 PM
  3. how to save Excel Mac 2008 to open it in earlier PC versions
    By phstol in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-23-2009, 05:16 PM
  4. Replies: 1
    Last Post: 08-16-2006, 07:35 PM
  5. How to you open multiple versions of Excel
    By buriedinit in forum Excel General
    Replies: 1
    Last Post: 06-21-2006, 01:19 AM

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