+ Reply to Thread
Results 1 to 6 of 6

Modify recording Macro

  1. #1
    Forum Contributor
    Join Date
    11-05-2012
    Location
    Canada
    MS-Off Ver
    OFFICE 365
    Posts
    184

    Modify recording Macro

    Hi,

    I recorded the code below using create/export multiple sheets in one pdf file.

    How to modify it to:

    1. Prompt to select sheets
    2. for location and file name

    here the code:

    Please Login or Register  to view this content.

    Thank you,

  2. #2
    Forum Expert ByteMarks's Avatar
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    3,094

    Re: Modify recording Macro

    I think prompting for the sheets would be more involved. Instead this takes the selected sheets and prompts to pdf them.
    Not sure what you wanted to do about the filename, so I left it as it was before.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-05-2012
    Location
    Canada
    MS-Off Ver
    OFFICE 365
    Posts
    184

    Re: Modify recording Macro

    Thank you so much, worked perfectly.

    Just one thing about file name, would like to give a name myself. Like "backup invoice # 000 something like that.

  4. #4
    Forum Expert ByteMarks's Avatar
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    3,094

    Re: Modify recording Macro

    In that case I would use GetSaveAsFilename


    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    11-05-2012
    Location
    Canada
    MS-Off Ver
    OFFICE 365
    Posts
    184

    Re: Modify recording Macro

    Thank you so much for your help.

    Worked.

  6. #6
    Forum Expert ByteMarks's Avatar
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    3,094

    Re: Modify recording Macro

    You're welcome.

+ 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. [SOLVED] Modify Scenario Manage Macro Recording ??
    By danbl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2023, 04:14 PM
  2. Problem with recording a macro with long formula - works in Excel but not in macro
    By tonybeo2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-28-2015, 11:25 AM
  3. Session Recording (Login info recording)
    By cvishu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-13-2014, 04:10 PM
  4. recording a macro
    By srinivastsc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-22-2013, 04:28 PM
  5. Macro recording
    By korndorb in forum Excel General
    Replies: 6
    Last Post: 06-04-2012, 02:11 PM
  6. [SOLVED] How do I make the Stop Recording bar pop up when recording macros
    By J in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2006, 04:50 PM
  7. Macro Recording
    By Sandi Rush in forum Excel General
    Replies: 2
    Last Post: 03-11-2005, 10:06 PM

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