+ Reply to Thread
Results 1 to 10 of 10

Need to print multiple sheets of same workbook with the common date specified in a column

  1. #1
    Registered User
    Join Date
    02-11-2016
    Location
    dubai
    MS-Off Ver
    msoffice 2010
    Posts
    75

    Need to print multiple sheets of same workbook with the common date specified in a column

    Dear Friends,

    Please assist me in following

    i have 10 work sheets named with Apple, Orange, Grapes..... etc... as sheet named
    Each sheet same style of inputs column wise with different data
    Only common input will be the date in Column A in all the sheets
    We input all the sheets from A TO K column


    Those 10 excel sheets gets updated on daily basis with different dates in A column.


    What i want is - Required the macro to get the print of all 10 (or) more sheets in one run for those specified date mentioned in column A.
    Macro should ask the date before the run.
    All the 10 sheets to get printed separately with the sheet name.

    Please support me in providing for my workplace

    Thanks is advance.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Need to print multiple sheets of same workbook with the common date specified in a col

    Hi anuwers,

    Where would the sheet name go? And can you:
    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window (or use the paperclip icon).
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    02-11-2016
    Location
    dubai
    MS-Off Ver
    msoffice 2010
    Posts
    75

    Re: Need to print multiple sheets of same workbook with the common date specified in a col

    Dear xladept


    i have 4 work sheets named with 001,002,003,004 ( just for sample purpose i made 4, otherwise i have 80 sheets - even with alphabhet sheet names)
    Each sheet same style of inputs column wise with different data
    Only common input will be the date in Column A in all the sheets. Date input will be many (or)one on the worksheet in Column A
    We input all the sheets from A TO H column


    Those all excel sheets gets updated on daily basis with different dates in A column.


    What i want is - Required the macro to get the print of all worksheets in one run for those specified date mentioned in column A.
    Macro should ask the user for date before the run.
    All the sheets to get printed separately as per the sample provided in Print form (please refer xl attached)

    Note: I want the Numeric number sheet names to be in sequence and then the Alphabet Sheet names

    Please support me in providing for my workplace

    Thanks is advance.
    Attached Files Attached Files

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Need to print multiple sheets of same workbook with the common date specified in a col

    Hi anuwers,

    Try this:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-11-2016
    Location
    dubai
    MS-Off Ver
    msoffice 2010
    Posts
    75

    Re: Need to print multiple sheets of same workbook with the common date specified in a col

    Dear Forum Guru

    Yes. i am getting the required data and it is printing as well.
    Suppose if i required to have more columns from each sheet (Example Upto H current macro works, if i want to take upto K ). Please guide.

    Thanks
    anuwers

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Need to print multiple sheets of same workbook with the common date specified in a col

    This should do it:

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    02-11-2016
    Location
    dubai
    MS-Off Ver
    msoffice 2010
    Posts
    75

    Re: Need to print multiple sheets of same workbook with the common date specified in a col

    Dear XLA,

    Sorry for the late. I have been using in work place since long the code and it was very useful. But one difficulty faced.

    If the date is not in order, then it picks the first date and leaves the next dates of same.

    Example: If our call is for date 22-may-2016

    Suppose if the sheet no: 001 - A3 carries: 22-may-2016, A4 carries - 23-MAY-2016, A5 AND A6 carries : 22-MAY-2016

    Then this codes picks only the first available A3 and did not pick A5 AND A6

    Kindly guide.

  8. #8
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Need to print multiple sheets of same workbook with the common date specified in a col

    This version will sort those fields:

    Please Login or Register  to view this content.
    Last edited by xladept; 10-20-2017 at 06:12 PM.

  9. #9
    Registered User
    Join Date
    02-11-2016
    Location
    dubai
    MS-Off Ver
    msoffice 2010
    Posts
    75

    Re: Need to print multiple sheets of same workbook with the common date specified in a col

    Dear XLA department,

    This is working fine. But rows getting changed based on dates of all sheets. Due to this my sequence number in C column gets changed. Hence without distrubing the date entry and other datas. required the data to work.

  10. #10
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Need to print multiple sheets of same workbook with the common date specified in a col

    This doesn't sort so fields should remain in place:

    Please Login or Register  to view this content.

+ 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. Merge specific column data from multiple sheets in single column of new workbook.
    By kadam203 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2016, 01:58 AM
  2. [SOLVED] Extracting data from multiple columns on multiple sheets / tabs etc to a common matrix
    By MagicMan in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 03-26-2015, 07:38 AM
  3. Replies: 1
    Last Post: 05-15-2013, 03:54 PM
  4. Excel 2007 : merge 2 sheets that have one common column
    By gbutehorn in forum Excel General
    Replies: 0
    Last Post: 09-06-2011, 01:43 PM
  5. VBA Access Common Cell in Many Different Sheets in an External Workbook
    By Software Bud in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-21-2008, 08:14 PM
  6. [SOLVED] How do I copy print formatting to multiple sheets in a workbook?
    By BFB@keystone in forum Excel General
    Replies: 2
    Last Post: 03-28-2006, 08:40 PM
  7. [SOLVED] Print 1st Page Multiple Sheets in Same Workbook
    By Ben Dummar in forum Excel General
    Replies: 7
    Last Post: 12-01-2005, 05:30 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