View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
y y is offline
external usenet poster
 
Posts: 60
Default Application.WorksheetFunction.Upper

Function Test(Classe, osserv As Range, Dst As String, ParA, ParB) As Single
....
Dist as string
....
Dist = Application.WorksheetFunction.Upper(Dst)
....

executing the "Dist = ..." statement VBA stops abnormally (without any message)

Have you encountered this problem?

Alex.