LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Error "Permission denied" when printing Web Browser control from button on userform,

Hi all - we are hosting an htm page in a web browser control,
contained in user form, with a print button on the userform which is
supposed to print the htm page. However it fails, with the following
code:-

Private Sub cmdPrint_Click()

Call wbC.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, "", "")

End Sub

There is a run-time error 70 message, "Permission denied". Has any
one got a solution ??

TIA Charles
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I get events from a "Split Button Popup" control? Tim Sylvester Excel Programming 0 June 24th 04 11:46 PM
"cannot insert object" in Excel (even a button from Control Toolbox) Matthew Lee Excel Programming 1 April 30th 04 05:58 PM
Runtime error Permission Denied Todd Huttenstine[_2_] Excel Programming 1 December 29th 03 10:46 PM
"Programmatic Access to be Denied" displays when running macro on excel in XP Stephen Fong Excel Programming 3 October 21st 03 09:19 AM
Error Msg: Permission to use object denied A. Nguyen Excel Programming 4 July 14th 03 09:05 PM


All times are GMT +1. The time now is 08:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"