+ Reply to Thread
Results 1 to 2 of 2

Thread: Need To Support for Loop Printing Form

  1. #1
    Registered User
    Join Date
    07-04-2011
    Location
    Colombo
    MS-Off Ver
    Excel 2003
    Posts
    8

    Unhappy Need To Support for Loop Printing Form

    I need to update Sheet 1 each rows data (A1;B1;C1;D1/ A2;B2;C2;D2; ...) in to the Invoice Format(Sheet2) and Print every sheet..
    IF I CAN STOP THIS PROCESS AFTER PROCESSING GIVEN NUMBER OF ROWS AND THEN STOPS ITS GOOD!!

    I have Work book Contains whic has two sheets

    Sheet 1:
    Theres Table with 4 columns
    Column 1 [A]: Name
    Column 2 [B]: Amount
    Column 3 [C]: Payment Type
    Column 4 [D]: Purchase Order No

    Sheet 2:
    Theres some Invoice Format:
    I need to update Sheet 1 each rows data (A1;B1;C1;D1/ A2;B2;C2;D2; ...) in to the Invoice Format and Print every sheet..
    IF I CAN STOP THIS PROCESS AFTER PROCESSING GIVEN ROWS AND THEN STOPS ITS GOOD!!

    Ex:
    Name In to Sheet 2 [B2]
    Amount In to Sheet 2 [D5]
    Payment Type In to Sheet 2 [D3]
    Purchase Order No In to Sheet 2 [C1]

    Can Anyone Help with this????? Is this possible with Excel????

  2. #2
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,226

    Re: Need To Support for Loop Printing Form

    'FILL OUT A TEMPLATE FROM A DATABASE
    I have a macro for taking the data from a database sheet and filling out a template sheet over and over again with the data.The macro fills out the template and saves each one as a separate file OR creates a separate sheet, your choice. That last part can be tweaked to do other things, this is mainly to demonstrate a simple way to fill out a form from a row-based database.

    You could change the SAVE portion of the code to simply print sheet2, your template, for instance.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

+ 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.2.0