charcurley
Programmer
- Aug 16, 2001
- 29
I have a Main Screen with many sub forms. When it prints the text boxes are all gray and the print out uses quite a bit of ink. I want to change the backcolor for the print out. I am now using code:
PreviousColor = 12632256
Me.Section(acDetail).BackColor = vbWhite
Me.Label322.BackColor = vbWhite
then
docmd.printout
and finally
Me.Section(acDetial).BackColor = PreviousColor...
and so on with the different sub form and labels. There has to be a way to update all of the text boxes but I am stuck. Any help would be appreciated.
PreviousColor = 12632256
Me.Section(acDetail).BackColor = vbWhite
Me.Label322.BackColor = vbWhite
then
docmd.printout
and finally
Me.Section(acDetial).BackColor = PreviousColor...
and so on with the different sub form and labels. There has to be a way to update all of the text boxes but I am stuck. Any help would be appreciated.