+ Reply to Thread
Results 1 to 9 of 9

Print multiple excel sheet according cell value

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Post Print multiple excel sheet according cell value

    hello, good afternoon

    i have a excel file with multiple sheet,

    i want all sheet print out according to there cell w4

    for example,
    sheet 1 and cell w4 has value 2.
    the print 2 pages of sheet 1

    sheet 2 and cell w4 has value 5.
    the print 5 pages of sheet 2

    sheet 3 and cell w4 has value 1.
    the print 1 pages of sheet 3



    all time sheets name changes according my need,

    i want print all sheets at a time but all sheets cell value of w4.


    thanx in advance
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,913

    Re: Print multiple excel sheet according cell value

    Try this one.
    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Print multiple excel sheet according cell value

    THANX
    bakerman2

    will try

  4. #4
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Print multiple excel sheet according cell value

    this time not working
    sorry

  5. #5
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,913

    Re: Print multiple excel sheet according cell value

    Maybe telling what exactly is not working might help us find a solution.

  6. #6
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Print multiple excel sheet according cell value

    dear sir
    i want for example this time i have 7 sheets in my workbook, the first go 1 sheet and check the value of cell w4 and print pages according of cell value w4, after this go to 2nd sheet and check the value of cell w4 and print pages according to cell value w4, and continue...
    i meant every sheets w4 value will change all times

    thanx

  7. #7
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,913

    Re: Print multiple excel sheet according cell value

    So if I understand correctly Range("W4") gives the number of pages from each sheet.
    So if Range("W4") = 3 printing will be from page 1 to 3 of that sheet.

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Print multiple excel sheet according cell value

    Ok
    working now
    tahnx
    will add rep+

  9. #9
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,913

    Re: Print multiple excel sheet according cell value

    You're welcome and thanks for adding rep points.

+ 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. Replies: 1
    Last Post: 11-15-2019, 02:57 AM
  2. Replies: 1
    Last Post: 07-04-2015, 06:25 AM
  3. Replies: 2
    Last Post: 10-03-2008, 09:08 PM
  4. Replies: 1
    Last Post: 11-24-2005, 07:29 AM
  5. Replies: 2
    Last Post: 11-04-2005, 09:40 PM
  6. [SOLVED] Print multiple pages per Sheet in Excel 2003
    By Chris N in forum Excel General
    Replies: 1
    Last Post: 05-03-2005, 11:06 PM
  7. Replies: 1
    Last Post: 02-18-2005, 06: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