Protected View

JerryH09

New Member
Joined
Jan 25, 2011
Messages
33
Hi All,
When I scrape a file from the web it comes in "protected view". When I use the recorder for this being unprotected. I get:
application.activeprotectedview.edit=false. When I run this on a new file I get run time error 91. Not sure exactly what object I'm supposed to define and set. Help.
Regards
JerryH
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
when you run the code do you have the protectedview visible to you.

If not, you might add On Error Resume Next prior to that line so if there is nothing to do, you don't get an alert
 
Upvote 0
when you run the code do you have the protectedview visible to you.

If not, you might add On Error Resume Next prior to that line so if there is nothing to do, you don't get an alert
Hi Mole999, This is the endstage of the last time you tried to help me. I've got hold of a data scraper and can get the data I want but in a protected view. This is the macro I'm running:
Sub test6()
'
' test6 Macro
'
On Error Resume Next
ActiveWindow.ActivateNext
application.ActiveProtectedViewWindow.Edit = False
ActiveWindow.ActivateNext
End Sub
. The ActivateNexts are because I'm looking at my main spreadsheet but want to unprotect my scraped file. Adding the on error resume next means the macro doesn't do anything. Would a copy of the scraped file be any use?
Regards,
JerryH09
 
Upvote 0
if you have a cloud location to share through, that might help, somewhere free that doesn't require a user registration
 
Upvote 0
if you have a cloud location to share through, that might help, somewhere free that doesn't require a user registration

Hi Mole999,
I have some cloud storage and one section is called public. I don't know how you'd access it. Do you have an email address I could send it to?
Regards,
JerryH09
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,155
Members
453,021
Latest member
Justyna P

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