+ Reply to Thread
Results 1 to 13 of 13

Filter data to multiple pages

  1. #1
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Filter data to multiple pages

    Hello everyone
    I have Data sheet and I need to filter data according to Target column (Column A) .. and each category to be in separate page (not sheets)
    The results should be in Result sheet in multiple page as illustrated in the attachment
    Thanks advaced for help
    Attached Files Attached Files
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Filter data to multiple pages

    Why not just set page breaks between the groups? They would then print out on separate pages.

  3. #3
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Filter data to multiple pages

    Thanks for reply
    But I need to do that task using code ..and I can't use page breaks in vba

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Filter data to multiple pages

    Is it possible to know the row number for page breaks .so we can depend on it in putting the results of filtered data?

  5. #5
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Filter data to multiple pages

    Ok forget the thread and tell me how to know the rows for page breaks in used range>>
    I found this piece of code but it brings only the first page break
    Please Login or Register  to view this content.
    And this is another code but I got an error '9' subscript out of range
    Please Login or Register  to view this content.
    at this line the error occurred
    Please Login or Register  to view this content.
    Last edited by YasserKhalil; 01-13-2016 at 07:03 AM.

  6. #6
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Filter data to multiple pages

    This would clear any existing page breaks and set new ones based on column a data being sorted by Target.

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    05-03-2011
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Excel 2016
    Posts
    98

    Re: Filter data to multiple pages

    I will send you tommorow

  8. #8
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Filter data to multiple pages

    Thanks for help
    I don't need to insert page breaks .. I need to know the rows for page breaks ..

  9. #9
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Filter data to multiple pages

    This will show you where they are:
    Please Login or Register  to view this content.

  10. #10
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Filter data to multiple pages

    Quote Originally Posted by JLGWhiz View Post
    This will show you where they are:
    Please Login or Register  to view this content.
    Thanks for reply but this is not what I need ..
    Need to extract rows' numbers at pagebreaks

  11. #11
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Filter data to multiple pages

    Quote Originally Posted by YasserKhalil View Post
    Thanks for reply but this is not what I need ..
    Need to extract rows' numbers at pagebreaks
    Sorry, that's all I have to offer. Suggest you use the VBA help files or web search to get additional information on page breaks. They can be troublesome, depending on your sheet structure in terms of row heights and column witdths. The page breaks are calculated by Excel based on anticipated printer output. So automatic page breaks can change randomly if changes occur to rows and columns. Manual page breaks also present problems if changes occur in the worksheet after initial settings. Good luck. Regards, JLG

  12. #12
    Registered User
    Join Date
    05-03-2011
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Excel 2016
    Posts
    98

    Re: Filter data to multiple pages

    please small look on this... if you need that data to be separated to new, new pages... ok i understand.... if the page column length (eg:- 20 rows). If we code to 1 sheet 1st data filtered. 2nd page 2nd data filtered.... now that row exited to 20 that codes not working... so send one pay slip copy. check that. its ok implement from that model

  13. #13
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Filter data to multiple pages

    Thank you very much JLG for sharing the thread ..and for the information provided in your posts about the issue
    Thanks a lot Mr. Rukman for the model .. it would be very useful in some of my cases
    Hope to find an easy way to achieve that task to have the page breaks calculated automatically on anticipated printer output..

+ 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] Using checkbox to filter multiple data, want to delete multiple data instead of filter dat
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-23-2014, 11:52 AM
  2. Collating Data from multiple Pages
    By Hawkins1989 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-21-2014, 09:52 AM
  3. Excel Web Data from .aspx with the data in a grid with multiple pages
    By dwilson_priority in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-14-2013, 12:41 PM
  4. Excel Web Data from .aspx with the data in a grid with multiple pages
    By dwilson_priority in forum Access Tables & Databases
    Replies: 0
    Last Post: 03-14-2013, 12:41 PM
  5. want to pull in data from multiple web pages
    By arcam2004 in forum Excel General
    Replies: 0
    Last Post: 07-17-2012, 08:01 PM
  6. Pulling Data from Multiple Pages to One
    By Thespis721 in forum Excel General
    Replies: 1
    Last Post: 10-06-2009, 03:14 PM
  7. how to search multiple pages for data
    By Hoppy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2005, 07:06 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