+ Reply to Thread
Results 1 to 6 of 6

Exporting Macro

  1. #1
    Registered User
    Join Date
    12-03-2016
    Location
    Manchester, England
    MS-Off Ver
    MS Office Excel 2016 for MAC
    Posts
    12

    Post Exporting Macro

    Hi, I currently have the below Macro exporting a sheet from Excel. However whereas at present the macro exports the sheet with a specific name and saves to the H Drive. I would like the macro to export with the same naming arrangement, but ask where to save.

    Please help.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Exporting Macro

    Try this
    - allows you to specify a default path, which is then placed in an input box for user to amend

    replace:
    Please Login or Register  to view this content.
    with:
    Please Login or Register  to view this content.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    12-03-2016
    Location
    Manchester, England
    MS-Off Ver
    MS Office Excel 2016 for MAC
    Posts
    12

    Re: Exporting Macro

    Hi,

    Unfortunately that doesn't really solve my problem. I would like the Macro Button to export the sheet, but bring up teh Save As box, so we can visually choose which folder to save it in. See attached.

    Is this possible?

    Capture 1.PNG

    Regards,

    Chris
    Attached Images Attached Images
    Last edited by christoph13; 02-20-2017 at 12:11 PM.

  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
    48,943

    Re: Exporting Macro

    Please Login or Register  to view this content.
    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


  5. #5
    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
    48,943

    Re: Exporting Macro

    Correction:

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    12-03-2016
    Location
    Manchester, England
    MS-Off Ver
    MS Office Excel 2016 for MAC
    Posts
    12

    Re: Exporting Macro

    Hi,

    Thats much better. However it isnt bringing through the file name as below:

    Capture 2.PNG

+ 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. Exporting Workbook without Macro/Formulas
    By JPSIMMON in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-27-2015, 03:50 PM
  2. Exporting Client Sheet into CVS via Macro
    By stephenorgan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-14-2014, 09:09 PM
  3. Exporting Data from SQL Server to Excel using Macro
    By skylab in forum Excel General
    Replies: 4
    Last Post: 02-10-2011, 05:51 AM
  4. exporting excel to access macro
    By student56 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-06-2008, 01:38 PM
  5. Timed macro for printing and exporting
    By ZjonBelz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-16-2007, 10:56 AM
  6. exporting a macro
    By Anthony in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-27-2006, 08:00 AM
  7. Exporting the same Excel macro to 60 workbooks
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2005, 05:06 PM

Tags for this Thread

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