+ Reply to Thread
Results 1 to 4 of 4

adding vlookup formula from a vba button press

  1. #1
    Forum Contributor murray83's Avatar
    Join Date
    05-05-2016
    Location
    Daventry
    MS-Off Ver
    365
    Posts
    146

    Question adding vlookup formula from a vba button press

    this is my code for adding a new line to sheet in excel

    Please Login or Register  to view this content.
    but i have the following vlookup i wish to be put in to column A
    Please Login or Register  to view this content.
    have tried a macro and then copy and paste it into the vba but had no luck

    any help most welcome and grateful, cheers
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: adding vlookup formula from a vba button press

    This seems to work perfectly fine...

    Please Login or Register  to view this content.
    HTH
    Regards, Jeff

  3. #3
    Forum Contributor murray83's Avatar
    Join Date
    05-05-2016
    Location
    Daventry
    MS-Off Ver
    365
    Posts
    146

    Re: adding vlookup formula from a vba button press

    Thanks a million
    Last edited by jeffreybrown; 03-11-2018 at 09:48 AM.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: adding vlookup formula from a vba button press

    You are very welcome. Glad it worked out for you and thanks for the rep.

+ 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] Have to press macro button twice?
    By pdmm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-13-2017, 05:03 AM
  2. [SOLVED] Using VBA to press HTML button
    By sigma77 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2016, 11:22 AM
  3. How Adding Sequent numbers ( 1,2,3,4..) into field after press next command button
    By TEO KIM THYE in forum Access Programming / VBA / Macros
    Replies: 0
    Last Post: 07-07-2014, 05:27 AM
  4. Adding a vlookup into VBA command button ?
    By radgrad in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-17-2014, 11:55 AM
  5. Adding a few lines with info that is in a given range - by a press of a button
    By liranbo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-05-2012, 04:32 AM
  6. VB to Press Web page button.
    By Tortus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-22-2010, 11:07 AM
  7. press button via vb and excel
    By sal21 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-19-2006, 08:55 AM

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