Permission Denied

heartless14

New Member
Joined
Oct 7, 2014
Messages
9
Ok i was assigning an InternetExplorer instance to an object variable
using shellwindows
then i need to get an iframe inside of it
i already located the iframe and know how to get into that programatically
the problem is

when i assign it to an object variable i can't touch the .document

i tried iframe("example").contentDocument.. permission denied
i also tried iframe("example").contentWindow.document .. Permission denied

i also tried looping it because i might be assigning the document that's not yet there so i got that code error permission denied
like the one i saw in the internet in terms of researching the cause
but still no avail

can someone help me.. or tell me why we get permission denied on doin it so

really thanks
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Cross-posting (posting the same question in more than one forum) is not against our rules. However, for the future, you might note point 24 of our Posting Guidelines.

You might understand that some helpers may become disgruntled if they put time into developing a solution here only to find later that a solution had already been achieved elsewhere. They may then be less likely to help you next time.

You may also want to consider whether cross-posting actually increases your chance of getting a quick answer. Some (but certainly not all) members, because of the point above, tend to skip questions that they know are cross-posted because they don’t want to bother going to the other forum(s) to check if it has already been solved. It can also become rather messy trying to keep up if the threads are active in multiple forums at the same time.

Cross posted at: [url]http://www.excelforum.com/excel-programming-vba-macros/1050030-permission-denied.html[/URL]

If you do cross-post in the future and also provide a link, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,215,326
Messages
6,124,267
Members
449,149
Latest member
mwdbActuary

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