+ Reply to Thread
Results 1 to 3 of 3

Using the SaveAs in VBA

Hybrid View

Guest Using the SaveAs in VBA 10-04-2005, 07:05 PM
Guest RE: Using the SaveAs in VBA 10-04-2005, 08:05 PM
Guest RE: Using the SaveAs in VBA 10-04-2005, 09:05 PM
  1. #1
    caldog
    Guest

    Using the SaveAs in VBA

    I want my end users to not lose the master worksbooks, that they have. So
    how do I have them save say five worksbooks as one file name, thereby not
    touching the original workbook.

    Now I'm a novice at coding in VBA, so please explain so that a novice can
    understand.

    Example say I have these workbooks:
    Room & Board.xls
    SOC.xls
    Refunds.xls
    TimeSheet.xls

    What I want to see is the above four workbooks save as say September 2005.xls

    Thanks

    Steve

  2. #2
    Gary''s Student
    Guest

    RE: Using the SaveAs in VBA

    Create a master workbook. Then in VBA activate each workbook and copy each
    sheet into the master workbook with a Sheets.Copy command. The save the
    master.

    Try it with a small sample using the Macro Recorder to get the correct syntax.
    --
    Gary''s Student


    "caldog" wrote:

    > I want my end users to not lose the master worksbooks, that they have. So
    > how do I have them save say five worksbooks as one file name, thereby not
    > touching the original workbook.
    >
    > Now I'm a novice at coding in VBA, so please explain so that a novice can
    > understand.
    >
    > Example say I have these workbooks:
    > Room & Board.xls
    > SOC.xls
    > Refunds.xls
    > TimeSheet.xls
    >
    > What I want to see is the above four workbooks save as say September 2005.xls
    >
    > Thanks
    >
    > Steve


  3. #3
    caldog
    Guest

    RE: Using the SaveAs in VBA

    Thanks Gary, but I don't think that will work for me.

    Let me try to explain what I need. I have these four workbooks-see below
    for names-each month my end users are going to open each book and put data
    into these books. At the end of the month, what I would like for them to be
    able to do is save their work in all four workbooks as one file,thereby not
    distrubing the original workbooks. BTW each workbook is a stand alone one.
    What I would like the end user to be able to from my menu page is to click on
    a button-have the system ask them for a name to name all these workbooks as
    one file. Is this possible?

    "Gary''s Student" wrote:

    > Create a master workbook. Then in VBA activate each workbook and copy each
    > sheet into the master workbook with a Sheets.Copy command. The save the
    > master.
    >
    > Try it with a small sample using the Macro Recorder to get the correct syntax.
    > --
    > Gary''s Student
    >
    >
    > "caldog" wrote:
    >
    > > I want my end users to not lose the master worksbooks, that they have. So
    > > how do I have them save say five worksbooks as one file name, thereby not
    > > touching the original workbook.
    > >
    > > Now I'm a novice at coding in VBA, so please explain so that a novice can
    > > understand.
    > >
    > > Example say I have these workbooks:
    > > Room & Board.xls
    > > SOC.xls
    > > Refunds.xls
    > > TimeSheet.xls
    > >
    > > What I want to see is the above four workbooks save as say September 2005.xls
    > >
    > > Thanks
    > >
    > > Steve


+ 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