Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default disable the worksheet read only temporaily in VBA

Dear all

I have set the worksheet to read only mode. I want to know that how to disable this mode to cell editable mode while I need to updated some cells through VBA.

Best Regards,

Eric
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default disable the worksheet read only temporaily in VBA

Eric,

Sheet1.Unprotect

Rob

"Grey" wrote in message ...
Dear all

I have set the worksheet to read only mode. I want to know that how to disable this mode to cell editable mode while I need to updated some cells through VBA.

Best Regards,

Eric
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default disable the worksheet read only temporaily in VBA

Grey,

From the VBA editor (Alt + F11) and the Immediate Window (Ctrl + G)
or via VBA code:

thisworkbook.ChangeFileAccess xlReadwrite

John
"Grey" wrote in message ...
Dear all

I have set the worksheet to read only mode. I want to know that how to disable this mode to cell editable mode while I need to updated some cells through VBA.

Best Regards,

Eric
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
Disable save on read only?? Gazz_85[_2_] Excel Discussion (Misc queries) 3 July 7th 09 08:36 PM
disable Insert Worksheet jatman Excel Worksheet Functions 2 June 25th 08 06:40 AM
How to disable printing a specific worksheet? Efzed Excel Worksheet Functions 1 February 21st 07 05:43 PM
In Excel how do I disable "read only"? rdbeale New Users to Excel 3 January 27th 06 11:36 PM
Disable read only Mike[_31_] Excel Programming 1 July 23rd 03 12:21 PM


All times are GMT +1. The time now is 09:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"