
Originally Posted by
annep

I exported a check register from Quickbooks to excel and I am trying to automate converting it into an ASCII text file.
Needless to say, the number of checks will never be the same, so I have to write this macro with relative addresses.
I have every column formatted correctly. The data right now is in A2 to E194 with row 1 emply. I have to create a header column in row 1 with the total amount of the checks as well as an item count. The auto macro created the following sum in c2
Sub Macro8()
ActiveCell.Select
ActiveCell.FormulaR1C1 = "=SUM(R[1]C:R[193]C)"
End Sub
I actually did Sum (End Down).
But I can see that the macro is referencing 193 lines.
I need this function to be completely flexible.
Help,
Anne
should be useful
--
Bookmarks