Hi,
I have a macro and hard code the row numbers to call 10
other macros as below (the first macro starts at row 10).
If intRowNumber = 10 Then
Call LiborCurveFormat
End If
If intRowNumber = 11 Then
Call SWPTNformat
End If
If intRowNumber = 12 Then
Call CMSFormat
End If
If intRowNumber = 13 Then
Call TB3MFormat
End If
If intRowNumber = 14 Then
Call FHLSFFormat
End If
If intRowNumber = 15 Then
Call LiborCurveFormat
End If
If intRowNumber = 16 Then
Call SWPTNformat
End If
If intRowNumber = 17 Then
Call CMSFormat
End If
If intRowNumber = 18 Then
Call TB3MFormat
End If
If intRowNumber = 19 Then
Call FHLSFFormat
End If
Is there a way for me not to specify the row numbers
instead? I'm new to coding and would appreciate any help.
Thanks!
Replies