ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   PrintOut and PrintPreview show only first record when printed using ADO and VBA (https://www.excelbanter.com/excel-programming/378431-printout-printpreview-show-only-first-record-when-printed-using-ado-vba.html)

[email protected]

PrintOut and PrintPreview show only first record when printed using ADO and VBA
 
Hi,
I'm trying to print a batch of forms based on the records I read from
the db table.
I have my recordset and fields are filled with each iteration in excel
spreadsheet
Debug.Print indicates that form values do change, but when I print or
display printpreview through the code, the only first record shows when
I loop through the records.
What am I missing here?

I am using Excel 2003 in case it matters.
Thanks.
Alex


[email protected]

PrintOut and PrintPreview show only first record when printed using ADO and VBA
 
Hi
your code would help.

regards
Paul

wrote:

Hi,
I'm trying to print a batch of forms based on the records I read from
the db table.
I have my recordset and fields are filled with each iteration in excel
spreadsheet
Debug.Print indicates that form values do change, but when I print or
display printpreview through the code, the only first record shows when
I loop through the records.
What am I missing here?

I am using Excel 2003 in case it matters.
Thanks.
Alex




All times are GMT +1. The time now is 09:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com