Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
LostinData
 
Posts: n/a
Default Printing a workbook one row at a time filling in a form with the d

Hello

I have a workbook with about 20,000 rows of data. I want to design a form
and have the information from one row inserted into the form and be printed
out. The form would also have empty places for the sales people to write
additional information on the paper after they make the sales call.

The information is name, phone number, address and several other customer
related information cells. I am using Excell 2000.

IF possible I would like to print these 2 up on a standard piece of paper
8.5 by 11 inches. This means I would print two forms on one page with a
seperate record/row filling in each form. I hope that makes sence.

Thank you for your time and help with this. I am totally lost. Have a good day
--
LostinData
All the information in the world
does little good
if you can't Maniputalte it, organize it and understand it.
  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Insert a new worksheet as your form (and name it, say, "From"), and design
it so that there are two copies of the form (which print out the way that
you like).

To pull data into the form, use a key value cell (which need not be part of
the print area). The key value can be as simple as the row number, and
formulas that reference that key value can be used to pull data into the
forms.

For example, put the number 2 into cell A1. In the cells of your first
form, use formulas like

=INDIRECT("'Data Sheet Name'!A" & A1)
=INDIRECT("'Data Sheet Name'!B" & A1)
=INDIRECT("'Data Sheet Name'!C" & A1)
=INDIRECT("'Data Sheet Name'!D" & A1)
=INDIRECT("'Data Sheet Name'!E" & A1)

To pull data from columns A to E, row 2.

And in the second copy of the form, use formulas like

=INDIRECT("'Data Sheet Name'!A" & A1+1)
=INDIRECT("'Data Sheet Name'!B" & A1+1)
=INDIRECT("'Data Sheet Name'!C" & A1+1)
=INDIRECT("'Data Sheet Name'!D" & A1+1)
=INDIRECT("'Data Sheet Name'!E" & A1+1)

To pull data from columns A to E, row 3.

Then when you enter a value into cell A1, it will grab data from 2 rows on
your data sheet, and the form can be printed.

If you want to print all your data, you could use a simple macro to
increment the value in cell A1 (in steps of 2), recalc, and print, along the
lines of

Dim i As Integer
For i = 1 To 20000 Step 2
Worksheets("Form").Range("A1").Value = i
Application.CalculateFull
Worksheets("Form").Printout
Next i

Just make sure you have a lot of paper and toner available.

HTH,
Bernie
MS Excel MVP


"LostinData" wrote in message
...
Hello

I have a workbook with about 20,000 rows of data. I want to design a form
and have the information from one row inserted into the form and be

printed
out. The form would also have empty places for the sales people to write
additional information on the paper after they make the sales call.

The information is name, phone number, address and several other customer
related information cells. I am using Excell 2000.

IF possible I would like to print these 2 up on a standard piece of paper
8.5 by 11 inches. This means I would print two forms on one page with a
seperate record/row filling in each form. I hope that makes sence.

Thank you for your time and help with this. I am totally lost. Have a good

day
--
LostinData
All the information in the world
does little good
if you can't Maniputalte it, organize it and understand it.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
printing workbook -landscap in to portrait format in Excel rjoshi Excel Discussion (Misc queries) 1 May 3rd 05 08:07 PM
macro to time limit workbook ditchy Excel Discussion (Misc queries) 5 April 26th 05 08:43 AM
Shared workbook - one at a time? andy Excel Discussion (Misc queries) 1 February 8th 05 03:56 PM
Excel Workbook opens after a very very long time Excel Worksheet Functions 2 December 18th 04 11:15 AM
Stubborn toolbars in Excel 007 Excel Discussion (Misc queries) 9 December 11th 04 02:02 PM


All times are GMT +1. The time now is 04:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"