View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
[email protected] bjdesa@cyber.net.pk is offline
external usenet poster
 
Posts: 11
Default Why does my Function not work?

in VBA Excel
Function GetText() As String
Dim Str1 As String
For Row = 51 To 74
Str1 = Str1 & Cells(Row, 3).Text
Next Row
GetText = Str1
End Function

in worksheet
cell C77 contains =gettext()

Now when any row 51 to 74 and column 3 changes my function gettext
does not update. Could some explain to me why and what I should do to
fix it

Thanks,