+ Reply to Thread
Results 1 to 2 of 2

Code to do a Vlookup of an Excel spreadsheet from Word

  1. #1
    Registered User
    Join Date
    04-10-2014
    Location
    Tallahassee, FL
    MS-Off Ver
    Excel 2010
    Posts
    98

    Code to do a Vlookup of an Excel spreadsheet from Word

    Goto HERE for the code I have been working with.

    I have a problem with this line:
    Please Login or Register  to view this content.
    The problem is that the cell position (the (7, 2) part) isn't going to always be correct. The number of rows in the destination sheet will change, but the first column will always have the same text as the source.

    I need to do a Vlookup of the value from this value:
    Please Login or Register  to view this content.
    from the first column of the sheet being pulled from below and pull the value from the second column:
    Please Login or Register  to view this content.
    Last edited by Phixer; 06-10-2014 at 09:44 AM.

  2. #2
    Registered User
    Join Date
    04-10-2014
    Location
    Tallahassee, FL
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: Code to do a Vlookup of an Excel spreadsheet from Word

    For the record, this is the code that worked.
    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)

Similar Threads

  1. Code for Word to Excel spreadsheet
    By birth19 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-21-2011, 11:18 AM
  2. Replies: 7
    Last Post: 07-28-2011, 10:05 AM
  3. Macro code to extract data from spreadsheet into 3 word documents
    By nurseydiamond in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2010, 08:13 PM
  4. Word VB Routine to vlookup in an Excel Spreadsheet
    By Joel Stutter in forum Word Programming / VBA / Macros
    Replies: 0
    Last Post: 06-13-2010, 09:35 PM
  5. Replies: 1
    Last Post: 05-28-2006, 12:45 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