worksheet protection

Colleen45

Active Member
Joined
Jul 22, 2007
Messages
495
This should be relatively simple to solve.
On my worksheet i am using advanced filters to view the data in the sheet.
But when I protect the sheet they do not work, I have unlocked those particular cells (Row 1). But it still does not allow the use of the advanced filter when the sheet protection is on. Any ideas?
 
Thankyou for your reply.
Sadly it did not work, what happens is this, after protecting the sheet i then make changes to column 18( which is one of the columns using the vba code. It also asks for the password to unprotect the sheet, (which obviously is not the desired result). So when i select cancel to unprotect the sheet, it gives me a "1004" error "application defined or object defined error"
then when i go to debug it points to this line

Target.Parent.Protect Userinterfaceonly:=True, AllowFiltering:=True

the second time i tried this it gave the same error but this time in debug pointed to this line

Target.Offset(0, 2).Value = Date

I'm convinced that it's something small thats being over looked

Thank you for any help you may be able to provide
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,224,811
Messages
6,181,081
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