Printing from userform

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a userform with a spreadsheet on. Also a print button and
commondialog. But I just cant write a code that prints the spreadsheet.

I got this from Rody Meulman:..Record a manual print and copy the code to
the butten_click event...........

This dosn't work, because the macro menu is not visible when the userform is
shown. If I try to start macrorecording before showing the userform, the
recorder records absolutely nothing.

Please help

Regards Kjeldc
 
If you mean you have the spreadsheet control from the office web components
on your userform, then I don't see any property/method that will allow you to
print the worksheet. Perhaps you would need to copy the cells from the
sheet and paste them into a regular excel sheet, then paste that.

this may be the way microsoft protects themselves, if you can't open files,
save files or print, then not much chance this will be used instead of buying
excel itself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Printerproblem 2
Extract Records via Userform 12
Userform within a userform ... 7
Tom Ogilvy 3
Excel Excel 2007 fails on insert userform 0
Printing userforms 2
Userform to Select what worksheets to print 1
Import from spreadsheet 4

Back
Top