Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Cool activesheet.tab.colorindex not working when workbook shared

I have a workbook with the following code operating correctly in exclusive access. However, this code fails with an error 1004 when the workbook is put into shared mode. This will fail for a single cell named as "PassFail"

Any thoughts?

For Each C In Range("PassFail")
If C.Value = "Fail" Then
ActiveSheet.Tab.ColorIndex = 3
ElseIf C.Value = "Pass" Then
ActiveSheet.Tab.ColorIndex = 4
End If
Next c

Last edited by Martin Appleton : July 21st 06 at 08:51 AM
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
Inserting Comments In A Shared Workbook FILRichie Excel Discussion (Misc queries) 4 June 12th 14 05:30 PM
Shared Workbook Bryan Excel Discussion (Misc queries) 1 February 23rd 06 09:13 PM
Shared Workbook Protection Mike Excel Discussion (Misc queries) 1 January 24th 06 03:38 PM
How can I get a validation to run in a macro on a shared workbook? arewa Excel Discussion (Misc queries) 3 January 2nd 06 11:31 PM
how to limit edit access to certain users for a shared workbook? Pam Deshazier, SRHS Excel Worksheet Functions 0 November 29th 05 05:28 PM


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