+ Reply to Thread
Results 1 to 3 of 3

Copying cell to another sheet offsetting from a find reference point - see sample

  1. #1
    Registered User
    Join Date
    11-08-2017
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    12

    Post Copying cell to another sheet offsetting from a find reference point - see sample

    Hi all, the title sounds complicated but it's pretty basic concept, I just don't know how to do this multiple times efficiently. I've learnt a lot about vba, but still in my infancy and more of a hacker to get things working.

    Goal: Our EHTDB has many "holes" to be filled in, as users come across them, rather than having them go to the EHTDB tab and scroll to find the right cell, I made simple macro to search and fill in the cells automatically from the Template.
    I want to copy user data from template sheet ("+WN") to the EHTDB sheet based off the reference ID.
    I have built individual macros to copy each individual cell, but would like to simplify it so one click on a macro will check each of my 5 cells (ignore if blank), and copy the user data to the correct row in the EHTDB with the correct column offset.

    See attached working example with single macros.

    Sample of working single macro code:
    Please Login or Register  to view this content.
    Appreciate any help you experts can provide!

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Copying cell to another sheet offsetting from a find reference point - see sample

    I replaced all those macros with a single one:

    Please Login or Register  to view this content.
    WBD
    Office 365 on Windows 11, looking for rep!

  3. #3
    Registered User
    Join Date
    11-08-2017
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    12

    Re: Copying cell to another sheet offsetting from a find reference point - see sample

    I'm not sure what happened to my last reply, but I'll try again.
    WBD - thanks so much for your help! Big Grin on my Face for how awesome this made me feel seeing it work PERFECTLY as envisioned. Thanks for adding in the comments to help me understand the code a bit too. Best wishes!

+ 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. Replies: 10
    Last Post: 08-14-2016, 05:09 AM
  2. Inserting vs. Copying cell with conditional formatting. Removed sheet reference.
    By phbryan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-05-2016, 11:15 AM
  3. Update Sheet Reference Based on Cell Entry When Dragging/Copying
    By bob34253454 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-24-2015, 09:04 AM
  4. Replies: 3
    Last Post: 07-22-2011, 07:16 AM
  5. find <cell reference> copy to new sheet
    By ngocpdn in forum Excel General
    Replies: 1
    Last Post: 07-22-2011, 06:41 AM
  6. Replies: 12
    Last Post: 01-14-2008, 03:01 PM
  7. Replies: 4
    Last Post: 01-07-2006, 09:50 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