+ Reply to Thread
Results 1 to 2 of 2

Copying entire row depending on variable value entered

  1. #1
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    Copying entire row depending on variable value entered

    Hi

    I have two sheets, Sheet1 and Sheet.

    In Sheet1 i am using columns A : AZ (A1:AZ1 being headers)
    A2:AZ2 being a line of data
    lines is entered on a daily basis

    in Sheet2 i have a drop down (in C2) that looks at Sheet 1 B2:B65000 which is the reference for the line

    Id like when a reference (from dropdown in C2) in sheet2 is selected, it copies the relevant line in sheet1 where that reference is and paste it (transpose) into D3:D54 off sheet2

    *i have a filter on sheet1 that could be used in the code if needed

    thanks in advance

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Copying entire row depending on variable value entered

    suggest you upload a sample workbook with some typical data and instructions on how to meet your requirements.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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] Assign entire row to variable, how do you paste variable values in a new workbook?
    By tv69 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2013, 08:01 PM
  2. Auto list depending on code entered
    By NBF in forum Excel General
    Replies: 4
    Last Post: 05-19-2013, 06:47 AM
  3. Add prefix depending what is entered in cell
    By domyrat in forum Excel General
    Replies: 6
    Last Post: 02-22-2010, 05:16 AM
  4. Replies: 3
    Last Post: 12-14-2005, 01:20 PM
  5. Colouring a row depending on data entered in a column
    By Gazivaldo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-25-2005, 10:25 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