+ Reply to Thread
Results 1 to 5 of 5

Pause macro whilst selecting the file i want to copy from

  1. #1
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723

    Pause macro whilst selecting the file i want to copy from

    hi,

    i will have many workbooks with data in it in a folder called "accuscan temp" that i will want to copy to another workbook, then do other things with the data copied.

    the file path i have is

    Please Login or Register  to view this content.
    is it possible to pause the macro until i click on the file i want before it resumes with the macro

    then name the file that i have copied the data to the same name as the data come from


    thanks

    steve
    Last edited by stevekirk; 10-05-2012 at 06:05 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Re: Pause macro whilst selecting the file i want to copy from

    do you by any chance mean application.getopenfilename?

  3. #3
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723

    Re: Pause macro whilst selecting the file i want to copy from

    hi,

    to be honest i do not know, i need to select the file from a list of files and when it opens carry on with the macro

    thanks
    steve

  4. #4
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Re: Pause macro whilst selecting the file i want to copy from

    Please Login or Register  to view this content.
    And from this point forward, reffer to the opened file as "file"

  5. #5
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723

    Re: Pause macro whilst selecting the file i want to copy from

    hi,

    could you please help me with this code , i would like the macro to let me select the file for me to cope the data from , at present it is set to "sheet1 csv"
    but there could be many files i need to copy from


    thanks
    steve


    Please Login or Register  to view this content.

+ 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