View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Roderick[_5_] Roderick[_5_] is offline
external usenet poster
 
Posts: 1
Default Delete Protection.AllowEditRanges

Hello!

I do not fully understand what you want to do, but you can enumerat
all AllowEditRanges and then use the Delete-method ....

Dim s As Worksheet
Dim rng As AllowEditRange

Set sh = ActiveSheet

For Each rng In sh.Protection.AllowEditRanges
rng.Delete
Next rng

Ro

--
Message posted from http://www.ExcelForum.com