Thread: Excel VBA Bug
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
iwl iwl is offline
external usenet poster
 
Posts: 6
Default Excel VBA Bug

Hi Group,

can somebody verify the follow bug

Public Function test() As String
ActiveSheet.Range("$P$04:$P$216") = Null
test = ActiveSheet.Range("$A$1").Address
End Function

calling this function in a cell =test()
I get #WERT (German Excel, I think #VALUE
in English as result)

comenting first call out
'ActiveSheet.Range("$P$04:$P$216") = Null

I get $A$1 as expected