Printing Userforms in excel

Lost4Words

New Member
Joined
Mar 12, 2009
Messages
2
I'm trying to print out an excel userform which contains an image control. The image control is loaded with a graph picture (GIF) using the following code: UserForm6.Image1.Picture = LoadPicture(fname). The form also contains several text boxes. I also have a command button setup to print out the userform, which it does partially, the graph image unfortunatley is not being printed just the image1 window itself. Any ideas?
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
cntrl+alt+printscreen will copy the visible userform. Paste to a Word doc and print. HTH. Dave
 
Upvote 0
Many thanks, works a treat. Is there anyway to automate this method, vba code would be rather lovely, click a button and hey presto...?
 
Upvote 0

Forum statistics

Threads
1,215,008
Messages
6,122,672
Members
449,091
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top