+ Reply to Thread
Results 1 to 7 of 7

Modifying Code for Prompt Path, Select sheet to export

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

    Modifying Code for Prompt Path, Select sheet to export

    Hi,

    Please help, how to modify the code below to:

    1. to Prompt for folder or path to export to
    2. Prompt for sheet(s) to select to export



    Please Login or Register  to view this content.

    Thank you,

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

    Re: Modifying Code for Prompt Path, Select sheet to export

    Attaching sample.

    Thank you,
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    05-02-2013
    Location
    Poland
    MS-Off Ver
    Excel 2013
    Posts
    361

    Re: Modifying Code for Prompt Path, Select sheet to export

    Select sheets (use Shift or Ctrl) -> run code

    Please Login or Register  to view this content.
    Last edited by hungt; 05-30-2025 at 02:59 PM.

  4. #4
    Valued Forum Contributor
    Join Date
    05-02-2013
    Location
    Poland
    MS-Off Ver
    Excel 2013
    Posts
    361

    Re: Modifying Code for Prompt Path, Select sheet to export

    I corrected the last post

  5. #5
    Valued Forum Contributor
    Join Date
    05-02-2013
    Location
    Poland
    MS-Off Ver
    Excel 2013
    Posts
    361

    Re: Modifying Code for Prompt Path, Select sheet to export

    selecting sheets at code execution time

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    01-25-2025
    Location
    Presov, Slovakia
    MS-Off Ver
    2021
    Posts
    279

    Re: Modifying Code for Prompt Path, Select sheet to export

    Hi josros,
    try this modification. Click on "button 2" ...

    m.s
    Attached Files Attached Files
    Last edited by MSDols; 06-05-2025 at 07:58 AM. Reason: text correction

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

    Re: Modifying Code for Prompt Path, Select sheet to export

    Thank you so much worked perfectly.

+ 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. How do I prompt user to find path in excel and paste that path into my current VBA
    By chrispikekerry in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 07-20-2022, 02:30 PM
  2. [SOLVED] Prompt user to select a workbook and then extract path
    By Phil123456789 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-31-2021, 03:50 AM
  3. Help Modifying a Macro to Avoid the Prompt for a Password
    By odoualex in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-10-2018, 03:56 PM
  4. [SOLVED] prompt to select workbook each time the code is ran
    By k1dr0ck in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-15-2018, 12:15 AM
  5. Is there a way to use code to automatically select a button from an Excel prompt?
    By ptate1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-30-2014, 11:45 AM
  6. export sheet to .csv - need help modifying script
    By harbormaster in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2011, 06:52 AM
  7. Prompt to select file/path and store as variable
    By GeorgY in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-30-2009, 03:44 AM

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