+ Reply to Thread
Results 1 to 6 of 6

Vlookip to VBA Script

Hybrid View

  1. #1
    Registered User
    Join Date
    09-09-2014
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    12

    Re: Vlookip to VBA Script

    Hello Vik,

    When i use your formula i get the following error: "Type Mismatch".

    Cheers,

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Vlookip to VBA Script

    Maybe:

    Sub Habs21()
    Range("B2:B" & Range("B" & Rows.count).End(3).Row).Formula = "=VLOOKUP(""*""&A2&""*"",Sheet2!B:B,1,0)"
    End Sub

+ 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 run the macro from Vb script with out opening the excel file
    By chandanp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-27-2021, 03:33 AM
  2. [SOLVED] To pull multiple data not captured by Vlookip
    By darshu85 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-01-2012, 02:48 PM
  3. Excel 2007 : Find and match - Vlookip/Script
    By macpegg in forum Excel General
    Replies: 3
    Last Post: 10-26-2011, 10:24 AM
  4. Create VBA script to short, dedicated button in excel for script?
    By realized in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2009, 11:54 PM
  5. Script that edits the text printed on the button that runs the script
    By petalred in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2008, 02:41 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