+ Reply to Thread
Results 1 to 2 of 2

Control find function in record macro

  1. #1
    Registered User
    Join Date
    11-22-2017
    Location
    Ireland
    MS-Off Ver
    Mac 2016
    Posts
    1

    Control find function in record macro

    hi guys

    i'm an absolute beginner who has been using macro only occasionally. i do not have a grasp of manual VBA code but i use record macro function to achieve some very basic tasks.

    i'm struggling with a macro that will allow me to include Control F (Find) function

    the issue

    I want to copy a cell in Sheet 1 and the search for that same value in sheet 2

    once found i then want to copy the cells adjacent to my original cell to the same row as cell i found in sheet 2.

    the record macro function doesn't seem to work for this.

    could anyone help please

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Control find function in record macro

    Hello pigrob,

    Welcome to the forum!

    This macro can be changed as needed. It assumes your worksheets are named "Sheet1" and "Sheet2". The contents of cell "A2" are used as the search value.

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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. Macro to find record in table or add row if not there
    By ExcelFailure in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 01-03-2014, 11:56 AM
  2. [SOLVED] Record Macro function does not record certain commands
    By m185945 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-01-2013, 11:02 AM
  3. creating several stock charts with a record macro function
    By freak11 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-08-2013, 07:14 PM
  4. use macro to find a record from a long list
    By asoom in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2013, 03:47 PM
  5. Replies: 1
    Last Post: 01-03-2013, 01:13 AM
  6. record macro to find next empty row
    By 1newguy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-15-2009, 02:07 PM
  7. macro to find matching record in a different workbook
    By PBM in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-21-2008, 08:09 PM
  8. Macro does not function inside a list control
    By Stephen Giles in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-08-2006, 03:40 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