Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Unprotecting Sheets with VBA and IRM

I have an Excel file that has VB macros and it works fine with no IRM.

When I apply IRM to it and only give the users "Change" rights so they
can input data into the file, the macros start throwing error messages.

The macros use the unprotect function.

Microsoft has documented the problem, but gives no solution or
workaround. http://support.microsoft.com/kb/914199/en-us

For the most part, all my macros are doing is hiding or unhiding rows
and columns so the sheets look cleaner to the user. What is the best
way for me to do this with IRM and still lock certain cells from user
input?

Thanks in advance.

Any help or insight would be most appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Unprotecting Sheets with VBA and IRM

Howard,
Bit of kludge, but does not require Protection and limits entry to unlocked
cells.
Range("rngData").Select
Application.DataEntryMode = xlStrict

NickHK

"Howard" wrote in message
ups.com...
I have an Excel file that has VB macros and it works fine with no IRM.

When I apply IRM to it and only give the users "Change" rights so they
can input data into the file, the macros start throwing error messages.

The macros use the unprotect function.

Microsoft has documented the problem, but gives no solution or
workaround. http://support.microsoft.com/kb/914199/en-us

For the most part, all my macros are doing is hiding or unhiding rows
and columns so the sheets look cleaner to the user. What is the best
way for me to do this with IRM and still lock certain cells from user
input?

Thanks in advance.

Any help or insight would be most appreciated.



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
Unprotecting Sheets Zee[_2_] New Users to Excel 6 November 26th 08 03:58 PM
Unprotecting Sheets Darren Excel Programming 1 May 18th 06 08:22 PM
Unprotecting Sheets with VBA and IRM Philip Excel Programming 0 December 4th 05 04:18 AM
PROTECTING/UNPROTECTING SHEETS Maureen Excel Discussion (Misc queries) 1 January 6th 05 06:46 PM
unprotecting sheets one Excel Programming 2 April 17th 04 07:06 PM


All times are GMT +1. The time now is 10:04 PM.

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"