Problems printing Webbrowser Control with a worksheet.

E

Excel_Neo

Hello, and thanks in advance for the help!
I'm having trouble getting a web browser control to print with my
worksheet. For setup, I'm working with an Excel 2007 workbook and using the
Microsoft Webbrowser control on my worksheet. I add webbrowser1 and use a
command button to navigate the webbrowser to a specific webpage. I have the
PrintObject property set to True for the web browser. The problem comes when
I want to print the worksheet and have it print the contents of the worksheet
along with the webbrowser as it is displayed on my screen, however, it does
not show up at all.
According to documentation, the WebBrowsers PrintObject property: Gets or
sets a value that indicates whether the WebBrowser is printed when the
worksheet is printed.
So, it would seem that having the web browser print on my worksheet would
be an option. Any help getting it to actually work would be much
appreciated. So far, my only idea is to use the print screen option, but
that seems like overkill.
 

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

Top