+ Reply to Thread
Results 1 to 2 of 2

Retrieving data from an excel spread sheet that has been filtered

  1. #1
    Registered User
    Join Date
    08-28-2012
    Location
    auckland nz
    MS-Off Ver
    Excel 2010
    Posts
    5

    Retrieving data from an excel spread sheet that has been filtered

    hi

    i am trying to write a macro that filters data with thousands of rows and columns of information and extract certain values from specified columns and rows

    for example ive got currency, type of account, account#, opening balance, ending balance, maintenance etc

    ive already completed the macro bit for filtering the data, and ive successfully got it down to 2 rows of data that i need to extract from,
    but now to get the values of ending balance, maintenance in row 330 and 1240 of corresponding columns is the bit im stuck on

    my original idea was to use activecelloffset but that only brings me down to a row that is hidden(by the filter),

    is there a way to write the macro such that it will mimick the pressing of the downkey to go straight to the row that has been filtered,
    in other words, i need to identify the row number that the data is on, in this example 330 and 1240, so i am able to identify the value in the corresponding column, for example (r=330,5) and (r=1240,6) so that it will allow me to carry out the following code

    Please Login or Register  to view this content.
    Row/Column
    1 Currency Type of Account Account#Opening Ending Maintenance
    330 NZD Client Subtotal 51463 21515 29948
    1240 NZD Broker Subtotal 8546132 65454 8480678


    hopefully ive explained it clearly enough ><

    thanks
    Last edited by shiun.tan; 12-20-2012 at 12:40 AM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Retrieving data from an excel spread sheet that has been filtered

    Hi

    try something like
    Please Login or Register  to view this content.
    This should at least give you the relevant row(s).

    rylo

+ 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