+ Reply to Thread
Results 1 to 3 of 3

how to select range of values from excel sheet and write to different workbook

  1. #1
    Registered User
    Join Date
    01-09-2012
    Location
    Norway
    MS-Off Ver
    Excel 2003
    Posts
    1

    how to select range of values from excel sheet and write to different workbook

    Hi,
    I have one work book(sheet) having M number of columns and N number of rows. First row represents X co-ordinates and first column represent Y co-ordinates.
    I need to select one value. for example value P located at N*M location. I want to search all the values equal to P and its X and Y co-ordinates and write to different sheet.

    I am new to excel macro programming.. if you give idea how to write macro to do this, it will be really help full for me .. Thank you in advance

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: how to select range of values from excel sheet and write to different workbook

    Hi

    Good idea will be send by You excel file with sample (and the resoult You expect)
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: how to select range of values from excel sheet and write to different workbook

    Tom is right - an example would help.

    This might get you started. to make this work

    1. Have the values you want to check in a named range called “values” on the first sheet of your workbook
    2. Select the cell within the “values” range with the value you want to look up

    The macro will input in rows from row 1 on the second sheet of your workbook:

    • The value of the selected cell in column A
    • The value from column 1 of that cell's row (representing the x coordinate) in the second column
    • The value from row 1 of that cell's row (representing the y coordinate) in the second column


    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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