Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Print a MSFlexGrid ?? 2

Status
Not open for further replies.

JohnBates

MIS
Feb 27, 2000
1,995
US
Hi everyone -

My form contains a MSFlexGrid control.

When I use PrintForm, the resulting printout is just the
out line of the form.... the detail data within the
grid is blank. I tried setting focus to the MSFlexGrid
prior to the PrintForm... but still get blank form. :-(

hmmm.... how do you print a MSFlexGrid ?

Thanks for any tips.
John

 
Hi John,

Option 1. Cycle through all rows and cols in the grid and send them to the printer.

Option 2. Export the grid to Excel and use Excel-methods to address the printer.

Herman :-Q
 
Thanks to Herman and vbNewbie for your ideas-

vbNewbie, your idea of printing the flexgrid via a Picture
control worked... after a little tweaking.

You're brilliant! (and I wouldn't call you a "newbie")

Thanks alot. John

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top