+ Reply to Thread
Results 1 to 9 of 9

Printing Groups of Worksheets

  1. #1
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479

    Printing Groups of Worksheets

    Hi I am using excel 2000

    I have a workbook with 78 worksheets each representing a store, the stores are split between 10 Area Managers

    I want to be able to print the worksheets for each area manager, I am currently using the following code

    Please Login or Register  to view this content.
    This is repeated for each of the Area Managers

    Is it possible to write code to print the stores of each AM from a list, where the AM name is in column A and the store names are in column B

    This would save me updating 10 lots of code every time the Area Manager areas change

    Thanks

    Paul
    Paul

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    If the area managers are in col A and their stores in col B (both starting in Row 2, no blanks), then just sort by col A and print the sheets in the order they appear in col B:
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479
    Quote Originally Posted by shg
    If the area managers are in col A and their stores in col B (both starting in Row 2, no blanks), then just sort by col A and print the sheets in the order they appear in col B:
    Please Login or Register  to view this content.
    This prints all the worksheets, I need to be able to select to print an individual area

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Change the line to,
    Please Login or Register  to view this content.
    Last edited by shg; 07-16-2008 at 05:06 PM.

  5. #5
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479
    Quote Originally Posted by shg
    Change the line to,
    Please Login or Register  to view this content.

    I now have this code

    Please Login or Register  to view this content.
    This works only if I have the workbook open to the worksheet with the list, can it work if the worksheet with the list is hidden?

    Thanks for all your help so far

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Yes, but you have to qualify the range references:
    Please Login or Register  to view this content.

  7. #7
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479
    Quote Originally Posted by shg
    Yes, but you have to qualify the range references:
    Please Login or Register  to view this content.
    Hi shg

    That's great thanks for your time and patience

    Paul

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    You're welcome, Paul, glad it worked for you.

  9. #9
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479
    wrong thread
    Last edited by Paul Sheppard; 07-18-2008 at 12:20 PM. Reason: wrong thread

+ 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