+ Reply to Thread
Results 1 to 4 of 4

Macro - Workbook save as code help needed

  1. #1
    Forum Contributor bonny24tycoon's Avatar
    Join Date
    04-02-2012
    Location
    Hell
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    405

    Macro - Workbook save as code help needed

    Hi Team,

    I have a macro build and works fine. But I need to deliver this file for a particular team for their work to be decreased.

    My issue is the below code highlighted in red.

    Please Login or Register  to view this content.
    The above was recorded to save the copy on the desktop. But I see that the macro has saved the path for my desktop.

    Can this be built in a way, that once the user runs the macro, the new file should automatically be saved on that users desktop??

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,377

    Re: Macro - Workbook save as code help needed

    Rather than re-invent the wheel, have a look at this link:

    http://www.vbaexpress.com/kb/getarticle.php?kb_id=216

    You should be able to adapt it to your needs.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor bonny24tycoon's Avatar
    Join Date
    04-02-2012
    Location
    Hell
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    405

    Re: Macro - Workbook save as code help needed

    Hi TMShucks

    You deserve a rep


    Thanks a ton

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,377

    Re: Macro - Workbook save as code help needed

    You're welcome. Thanks for the rep.

+ 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