Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default allow edit ranges protection

how can i delete the protection in allow edit ranges via subroutine in
vbscript editor? tks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default allow edit ranges protection

Record a macro while going through the steps and look at the generated code.

Tim


"eehj23" wrote in message ...
how can i delete the protection in allow edit ranges via subroutine in
vbscript editor? tks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default allow edit ranges protection

have already tried it but if i look at the generated code, it seems that it
uses an array but the index are not in order such as (1), (0), (1), (1)

"Tim Williams" wrote:

Record a macro while going through the steps and look at the generated code.

Tim


"eehj23" wrote in message ...
how can i delete the protection in allow edit ranges via subroutine in
vbscript editor? tks.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default allow edit ranges protection

....and the code looks like ?

I'm asking partly because I'm not even sure what it is you want to do: posting [a small example] of what you record will help.

Tim


"eehj23" wrote in message ...
have already tried it but if i look at the generated code, it seems that it
uses an array but the index are not in order such as (1), (0), (1), (1)

"Tim Williams" wrote:

Record a macro while going through the steps and look at the generated code.

Tim


"eehj23" wrote in message ...
how can i delete the protection in allow edit ranges via subroutine in
vbscript editor? tks.






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default allow edit ranges protection

the code looks like this:

activesheet.protection.alloweditranges(1).delete
activesheet.protection.alloweditranges(3).delete
activesheet.protection.alloweditranges(1).delete
activesheet.protection.alloweditranges(1).delete

i hope you could help me with this one. tks.

"Tim Williams" wrote:

....and the code looks like ?

I'm asking partly because I'm not even sure what it is you want to do: posting [a small example] of what you record will help.

Tim


"eehj23" wrote in message ...
have already tried it but if i look at the generated code, it seems that it
uses an array but the index are not in order such as (1), (0), (1), (1)

"Tim Williams" wrote:

Record a macro while going through the steps and look at the generated code.

Tim


"eehj23" wrote in message ...
how can i delete the protection in allow edit ranges via subroutine in
vbscript editor? tks.








Reply
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
Sheet Protection / Edit Objects Keyrookie Excel Worksheet Functions 0 December 7th 09 03:44 PM
Sheet Protection / Edit Objects Keyrookie Excel Worksheet Functions 0 December 5th 09 03:38 AM
WS Protection: Different Levels of Protection on Different Ranges Carmi Excel Discussion (Misc queries) 4 August 31st 07 02:26 PM
protection / edit ranges Liz Excel Discussion (Misc queries) 2 August 25th 06 04:48 PM
Allow user to edit Ranges under "Protection" Wellie[_2_] Excel Programming 1 February 29th 04 12:32 PM


All times are GMT +1. The time now is 12:53 PM.

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"