Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default run macros against protected cells

Macros referance data in my spread sheet and i don't want users to tamper
with those cells, however, when I protect these cells the macro aborts siting
that the cell is protected. Is there a way to keep users out and let the
macro run?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default run macros against protected cells

Hi
you could first unprotect the sheet in your macro and protect the sheet
again at the end

--
Regards
Frank Kabel
Frankfurt, Germany


wrote:
Macros referance data in my spread sheet and i don't want users to
tamper with those cells, however, when I protect these cells the
macro aborts siting that the cell is protected. Is there a way to
keep users out and let the macro run?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default run macros against protected cells

Thankyou for your reply, I changed the macro to clear the cells in question
and reload them as the program runs. I addition the source data cell is
protected and is updated by the spread sheet, so it can be protected.

Thank you for your help, thats a good idea any way and i will remember it
for a more complex problem in the future.

Dick

"Frank Kabel" wrote:

Hi
you could first unprotect the sheet in your macro and protect the sheet
again at the end

--
Regards
Frank Kabel
Frankfurt, Germany


wrote:
Macros referance data in my spread sheet and i don't want users to
tamper with those cells, however, when I protect these cells the
macro aborts siting that the cell is protected. Is there a way to
keep users out and let the macro run?



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
Edit text format in non-protected cells in protected worksheet Bonnie Excel Discussion (Misc queries) 2 April 19th 08 04:48 PM
Macros on Protected worksheet Ronnie Excel Discussion (Misc queries) 2 September 28th 07 08:27 PM
run macros on protected sheet widman Excel Discussion (Misc queries) 4 December 10th 06 10:09 AM
Is is possible to run macros on a protected worksheet petunia Excel Worksheet Functions 1 January 18th 05 04:55 PM
run macros on a protected sheet? Joe Z[_3_] Excel Programming 10 February 5th 04 08:59 PM


All times are GMT +1. The time now is 08:34 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"