+ Reply to Thread
Results 1 to 8 of 8

Printing individual forms from a table

  1. #1
    Registered User
    Join Date
    01-25-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Printing individual forms from a table

    I have set up an excel spreadsheet. I have then created a form (i need people to physically sign off the content of each row) on another sheet which I have used lookup based on an item code. What I want to do to get a macro or something to sequentially go down the spreadsheet and change the items code to that it prints out an individual form for each row.

    Anyone got any ideas.

    Thank you

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,933

    Re: Printing individual forms from a table

    Why don't you use MS Word Mail Merge to "Letters" using your Excel spreadsheet as the source document.

    I would think that's much easier than developing and maintaining VBA code.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Printing individual forms from a table

    I've posted code to do this in the past, you need to attach a dummy workbook.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    01-25-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Printing individual forms from a table

    Thanks for this will create a dummy workbook if that is OK and send it over

    Thanks DWB

  5. #5
    Registered User
    Join Date
    01-25-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Printing individual forms from a table

    Thanks for this may need to revert to this but would prefer to use VBA

  6. #6
    Registered User
    Join Date
    01-25-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Talking Re: Printing individual forms from a table

    Test Log1.xls

    Please find attachment I hope it make sense

    DWB

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Printing individual forms from a table

    Try this

    Please Login or Register  to view this content.
    Copy the Excel VBA code
    Select the workbook in which you want to store the Excel VBA code
    Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
    Choose Insert | Module
    Where the cursor is flashing, choose Edit | Paste
    To run the Excel VBA code:

    Choose Tools | Macro | Macros
    Select a macro in the list, and click the Run button
    Alternatively add a button to the form

  8. #8
    Registered User
    Join Date
    01-25-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Printing individual forms from a table

    Thank you so much!! Works perfectly

    Really appreciate it

    DWB

+ 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