+ Reply to Thread
Results 1 to 2 of 2

Macro for printing dynamic range from multiple worksheets

  1. #1
    Registered User
    Join Date
    08-22-2012
    Location
    mumbai
    MS-Off Ver
    Excel 2007
    Posts
    16

    Macro for printing dynamic range from multiple worksheets

    Hi All,

    Kindly assist me in cracking this:

    In the attached excel workbook: I am having 3 sheets of which the Sheet 2 and 3 i.e. LCC and UCC is where the user inputs cells from column B, there is a serial number identifying how many rows have been selected, these details are populated in Sheet 1 i.e. Collection table where i am defining a dynamic range as per the user input.

    The concern is that when i am running the macro all 3 sheets are getting print but the dynamic range is not getting picked, hence in this example there should be only one page print for 2nd sheet while 2 are getting printed.

    Please resolve. The code being used is as follows: and the mycell range is defined in Collection sheet.

    Please Login or Register  to view this content.

    Thanks.
    Attached Files Attached Files
    Last edited by arlu1201; 09-19-2012 at 09:21 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Macro for printing dynamic range from multiple worksheets

    Welcome to the forum.

    I have added code tags to your post. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future. If you need more information on how to use them, check my signature below this post.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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