+ Reply to Thread
Results 1 to 9 of 9

Copy data from range to another tab.

  1. #1
    Registered User
    Join Date
    10-19-2012
    Location
    Hazleton, Pa
    MS-Off Ver
    Excel 2010
    Posts
    17

    Copy data from range to another tab.

    I am having hard time figuring out how to copy data from one tab to another with a macro enabled button. On the "Pick your Shift" tab I would like to enter an employee id into cell C5, number of days in D5, and letters into D8-J8 & D9-J9. Once that has been entered i would like to click the button assigned with the macro to look up and match the emp id in C5 against the tab "Candidate Master" column B and copy the information within the same row. So the data should be pasted as follows D8-J8 to columns F-L, D9-J9 to columns M-S, and D5 to E.

    I appreciate any help provided and will be sure to give feedback for those who help out!

  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: Copy data from range to another tab.

    Can you attach a sample file? Click on Go Advanced scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

  3. #3
    Registered User
    Join Date
    10-19-2012
    Location
    Hazleton, Pa
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Copy data from range to another tab.

    Sure thing! Thanks a million!

    Pick Your Shift Tracker.xlsm

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

    Re: Copy data from range to another tab.

    Try:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-19-2012
    Location
    Hazleton, Pa
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Copy data from range to another tab.

    Thank you it works great John!! Is there a way to have a message popup if the candidate number is not found?

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

    Re: Copy data from range to another tab.

    Try:

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    10-19-2012
    Location
    Hazleton, Pa
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Copy data from range to another tab.

    Thanks a million! Ill be sure to pick apart the macro to help me gain the knowledge to write it myself if needed again!

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

    Re: Copy data from range to another tab.

    You're welcome. Glad to help out and thanks for the feedback. Please comply with Forum Rule No. 9.

    9. Acknowledge the responses you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved". Or click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Dropdown option or Edit button will not appear -- ask a moderator to mark it.

  9. #9
    Registered User
    Join Date
    10-19-2012
    Location
    Hazleton, Pa
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Copy data from range to another tab.

    Thanks! Solved.

+ 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. Copy data of range C4:C100 If range Q4:Q100 is greater than 0(zero)
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-01-2014, 06:23 AM
  2. [SOLVED] Copy data with 4 cell interval and copy range of data like vlookup with structured output
    By Daydreams in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-23-2013, 04:08 AM
  3. Copy/Paste range of data excluding certain rows and copy to another workbook
    By HoerbigAdm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-12-2012, 02:51 PM
  4. [SOLVED] Copy data from a range of cells into a blank range based on common cell
    By vanmeterkj in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-03-2012, 10:18 AM
  5. Copy range of cell data to range of cells arranged by groups
    By Wayne Makeeff in forum Excel General
    Replies: 0
    Last Post: 01-27-2005, 12:17 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