jwwhite021
New Member
- Joined
- Feb 19, 2009
- Messages
- 10
Hi,
My friend created an excel file using VBA so that I could manage my investments, there is a macro that I use to enter a transaction, it would take the details I enter, like ticker, number of shares sold and transfer that data into another excel tab. It has historically added the transaction at the bottom of the list e.g. row 21, then 22, then 23 etc, but for some reason it now enters it at the top and it is ruining this rather complex file.
When I click on debug, the following code is highlighted:
highestRef = Sheets("Trading ledger").Range(tradingLedgerCellStart).Offset(l, NbField + 4).Value
I have no idea what the above code is saying so I am hoping that one of your could a) translate and then b) suggest a potential new code?
Many thanks for your help.
John
My friend created an excel file using VBA so that I could manage my investments, there is a macro that I use to enter a transaction, it would take the details I enter, like ticker, number of shares sold and transfer that data into another excel tab. It has historically added the transaction at the bottom of the list e.g. row 21, then 22, then 23 etc, but for some reason it now enters it at the top and it is ruining this rather complex file.
When I click on debug, the following code is highlighted:
highestRef = Sheets("Trading ledger").Range(tradingLedgerCellStart).Offset(l, NbField + 4).Value
I have no idea what the above code is saying so I am hoping that one of your could a) translate and then b) suggest a potential new code?
Many thanks for your help.
John