+ Reply to Thread
Results 1 to 1 of 1

VBA index&mach through loop

  1. #1
    Registered User
    Join Date
    08-04-2014
    Location
    bg
    MS-Off Ver
    MS Office 2007
    Posts
    71

    VBA index&mach through loop

    Hello,

    I incorporated index&match functions through vba.

    But I have some error when I put it in the for loop. Also I want for BOOKMARK10 to use that string (where is called index&match function) and to put it in Word.

    Please find an attachment .xls below. Some of the file is written on Cyrillic letter, and some on Latin.

    What does program do: As you can see in B2 "Adam" is entering parameter for lookup from sheet3 (where are all the names).
    In cell Q2 is the function of lookup "Adamu".
    So firstly I wanted to pull from Q2 in MS WORD through BOOKMARK10, but eventually an idea have crossed on my mind, why the heck I am creating separete column with lookup vaues when I can hard-code it through vba.

    Here is the (also, you can view the code by downloading the .xls)

    Please Login or Register  to view this content.

    Thank you very much!
    Attached Files Attached Files

+ 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. [SOLVED] Index/mach or Lookup Formula help ?
    By sem in forum Excel General
    Replies: 4
    Last Post: 11-01-2014, 08:50 AM
  2. Changing the index of a for loop inside of the loop
    By drinkmorewine in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-03-2013, 12:19 PM
  3. index & mach works wthin workbook but not seperate workbooks help!!!
    By mmcoordes in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-19-2013, 09:25 PM
  4. How to get a macro to execute for every xls thats opened on a mach
    By john conwell in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-23-2006, 03:00 AM
  5. Lookup and mach
    By Esrei in forum Excel General
    Replies: 2
    Last Post: 06-19-2006, 11:25 AM

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