+ Reply to Thread
Results 1 to 4 of 4

Looking for code to select a row from a large sheet.

  1. #1
    Registered User
    Join Date
    02-26-2013
    Location
    Pennsylvania
    MS-Off Ver
    Excel 2010
    Posts
    6

    Looking for code to select a row from a large sheet.

    I have a large chart made up with hundreds of rows and 10 columns on a separate sheet in my workbook. Before trying to do this with excel I would use certain pieces of data to determine the correct row that would provide my answers. I have a series of if statements set up to the point where they will put in X in the 11th column next to the correct row. I would like to have this row then selected and copied onto my "main" sheet so that further functions can be carried out with these data points from the chart. Any help would be greatly appreciated.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Looking for code to select a row from a large sheet.

    can you attach a sample file with data and desired result ?
    If solved remember to mark Thread as solved

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Looking for code to select a row from a large sheet.

    Hi, wagmanm,

    if you put your formulas and Ifs into Column A you could VLookup to get the data, if itīs in Column 11 you might need to use
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    where you would need to alter the name of the sheet and the name of the column from which you would the value to be returned.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Registered User
    Join Date
    02-26-2013
    Location
    Pennsylvania
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Looking for code to select a row from a large sheet.

    Danke! Das is sehr gut! I was getting a sample sheet ready to upload, but what HaHoBe posted does exactly what I needed! Thanks guys

+ 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] how to set select case values from sheet 2 vba code
    By sspreyer in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 08-29-2013, 12:27 PM
  2. [SOLVED] Need Code to Select Next Visible Sheet
    By mo4391 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-11-2013, 07:14 PM
  3. Code to Select Current Active Sheet
    By JosueDG in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-14-2011, 02:50 PM
  4. code to select all data on sheet
    By bpreas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-31-2008, 02:23 AM
  5. [SOLVED] Select sheet with VB code
    By Dunmarie in forum Excel General
    Replies: 1
    Last Post: 01-12-2005, 12:06 PM

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