S
Steve
Why will the following code fail under Excel 97? The error
is a 1004 unable to set...
I have tried the code under office XP and it works but
only a small fraction of users have XP here..
The code is deployed in a module, and is called from a
button on the worksheet.
Sub alterSheet(Rng As Range, Default_Value As Variant)
Rng.Interior.ColorIndex = 19 'generates error xl 97
Rng.Font.ColorIndex = 5 'generates error xl 97
Rng.Value = Default_Value 'ok
End Sub
puzzled :-?
Steven
is a 1004 unable to set...
I have tried the code under office XP and it works but
only a small fraction of users have XP here..
The code is deployed in a module, and is called from a
button on the worksheet.
Sub alterSheet(Rng As Range, Default_Value As Variant)
Rng.Interior.ColorIndex = 19 'generates error xl 97
Rng.Font.ColorIndex = 5 'generates error xl 97
Rng.Value = Default_Value 'ok
End Sub
puzzled :-?
Steven