[mso] Re: Excel 2000 - Use of Cell Formatting in Formula

Hi Ray - yes I know, it's Christmas Eve but.... :-)

I have toyed with your script all day and got exactly no where! - this is 
what I've come up with, however, it doesn't work:

Sub LockCells(ByVal Target As Range)
    Dim rg As Range
    Set rg = Intersect(Columns("B", "G", "L", "Q", "V").Value = B
    If rg Is Nothing Then Exit Sub
    Worksheets(Sheet1, Sheet3, Sheet5, Sheet7, Sheet9).rg.Offset(1, 1 + 
1).Locked = True
End Sub

I'd be grateful for your comments but at your leisure, after all, it is 
Christmas Eve :-) but as you can see, I'm a pure novice at VB.

Have youself a Merry Christmas and a happy New Year and thank you...

Regards,

Dave 


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: