+ Reply to Thread
Results 1 to 4 of 4

Word browsing folder and open txt files in word document.

  1. #1
    Registered User
    Join Date
    05-21-2012
    Location
    India
    MS-Off Ver
    Excel 2010 to 2016
    Posts
    15

    Smile Word browsing folder and open txt files in word document.

    Hi All,

    Could any one of you help me by providing the above title code that is i want to browse folder and automatic the inside txt files should be opened in word document.

    Thanks in advance for your help.

    Regards,
    Rahaman.
    [email protected]

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Word browsing folder and open txt files in word document.

    naseerrahaman,

    Welcome to the forum!
    Do you mean something like this?
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    05-21-2012
    Location
    India
    MS-Off Ver
    Excel 2010 to 2016
    Posts
    15

    Re: Word browsing folder and open txt files in word document.

    No, i just want to browse and select folder and the vba code should automatically open inside folders text files in word document.

    I Hereby request you to help me in this way.

    Thanks in advance for the help.

    Regards,
    Rahaman.

    E-mail : [email protected]

  4. #4
    Registered User
    Join Date
    05-21-2012
    Location
    India
    MS-Off Ver
    Excel 2010 to 2016
    Posts
    15

    Re: Word browsing folder and open txt files in word document.

    [QUOTE=naseerrahaman;3125857]No, i just want to browse and select folder and the vba code should automatically open inside folders text files in word document.

    Please have a look on the below code, it will take me to the browse folder but i am failed to create a code which open inside folders text files in word document.

    Set ShellApp = CreateObject("Shell.Application").BrowseForFolder(0, "Please choose a folder", 0, "C:\test\")

    I Hereby request you to help me in this way which take me to browse folder and open inside text files in word automatically.

    Thanks in advance for the help.

    Regards,
    Rahaman.

    [email protected]

+ 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