+ Reply to Thread
Results 1 to 2 of 2

Using a ComboBox to Open Word Files

  1. #1
    Registered User
    Join Date
    03-16-2017
    Location
    Hamburg, Germany
    MS-Off Ver
    2016
    Posts
    44

    Using a ComboBox to Open Word Files

    Hello Excel Experts,

    I know how to open a Word dcument from Excel VBA, however I am really hard time trying to achieve the following:

    I already have a Userform with a Combobox, where the list of Options to choose are in column A. Options are different Company Locations (Manchester, Liverpool, Scotland...).

    What I still dont know how to do and I ask for your help is the following:

    I want to "link" each Option in Column A with a specific Word Document, so when that Option is Chosen, its corresponding Word Document will be opened. This is because evey Word Document is a differnt Format of a letter that Needs to be sent.

    Can anyone help me with this?

    Thank you ver much in advance!

    Jorge

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Using a ComboBox to Open Word Files

    Put Options and 'links' on a seperate worksheet. (can be hidden)
    Load both columns in combobox so when you choose an option you can refer to second column to open word document.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

+ 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 To Use a ComboBox to Search Matching Files Name & Open it From A Folder
    By DKTRL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2013, 08:34 AM
  2. Word browsing folder and open txt files in word document.
    By naseerrahaman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-16-2013, 03:38 AM
  3. Combobox to open word documents from excel
    By gherzberg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-15-2012, 05:21 PM
  4. [SOLVED] Can't open files in Excel or Word
    By rortiz in forum Excel General
    Replies: 2
    Last Post: 04-18-2006, 08:35 PM
  5. [SOLVED] Using Shell to open files with more than one word in their name
    By Phil1982 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-16-2006, 05:30 PM
  6. [SOLVED] RE: Using Shell to open files with more than one word in their name
    By Tom Ogilvy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-16-2006, 03:00 PM
  7. Why won't my Word open files in Excel?
    By p-oedkc in forum Excel General
    Replies: 1
    Last Post: 02-14-2006, 06:10 AM
  8. Replies: 1
    Last Post: 01-12-2006, 04:35 PM

Tags for this Thread

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