+ Reply to Thread
Results 1 to 2 of 2

Save WB from reference found in cell D1 to specific folder

  1. #1
    Annette
    Guest

    Save WB from reference found in cell D1 to specific folder

    I wonder if it is possible to save a spreadsheet as the name displayed in
    cell D1 (this is a 'reference' from another spreadsheet, ie, =customers!a2)
    and have it saved directly to a hard drive folder. For example:

    c:\my documents\orders


    Thanks!




  2. #2
    Tom Ogilvy
    Guest

    RE: Save WB from reference found in cell D1 to specific folder

    Dim s as String
    s = Activesheet.Range("D1").Text
    Activeworkbook.SaveAs "C:\My documents\order\" & s & ".xls"

    --
    Regards,
    Tom Ogilvy


    "Annette" wrote:

    > I wonder if it is possible to save a spreadsheet as the name displayed in
    > cell D1 (this is a 'reference' from another spreadsheet, ie, =customers!a2)
    > and have it saved directly to a hard drive folder. For example:
    >
    > c:\my documents\orders
    >
    >
    > Thanks!
    >
    >
    >
    >


+ 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