+ Reply to Thread
Results 1 to 3 of 3

Need help >> Macro to open file, then run the script

Hybrid View

  1. #1
    Registered User
    Join Date
    08-01-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Need help >> Macro to open file, then run the script

    Kindly Need your help......

    I want create a macro with this following steps :
    1. Open a file ( text file) from input commandbutton
    2. Browse in any location on my file ( I want open a text file)
    3. run my macro script

    I really appreciate any help as I am newbie to VBA. Thank you very Much !

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Need help >> Macro to open file, then run the script

    Hello danangcak,

    Welcome to the Forum!

    Can you provide an example of what you want to do? Do you have a workbook you can post?


    How To Post Your Workbook
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.

    File Manger Picture
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    08-01-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Need help >> Macro to open file, then run the script

    Thanks Moderator...

    I already try modify several script and success to run it..

    thanks

+ 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. Script to open, search, and insert the hyperlinked location file as a new sheet
    By kurtman1859 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-10-2013, 12:29 PM
  2. Macro script to ignore open workbook
    By Pantego in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-28-2011, 03:51 PM
  3. problem in reading new text file in VB script macro
    By kamlesh_waghela2000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2011, 06:07 PM
  4. [SOLVED] Selecting the most recent file in a folder by Macro/VBA script
    By scott.k@ems-t.com in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-20-2006, 01:15 PM
  5. [SOLVED] Open a file do a macro ( made) and open next succesive file
    By SVTman74 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-21-2006, 05:20 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