Hi,
I am using excel to create, essentially a transaction system/ database. Every time I buy or sell using the entry page, i press the macro button which i want to send the data I have inputted on the entry page to a database. However, I will be using this allot over the space of a year, so i have attempted to send all the data in the next blank row after each press of the button. So far, it is sending all the correct data over when the correct option box is pressed (either buy or sell on the entry page) however, it is not always putting it in the correct row. It seems to overwrite the row that it previously used sometimes. My code is as follows:
I imagine that the problem lies within the RowNumber declaration, but I do not understand why, if someone could help clear this issue up, that'd be great. Thanks
Bookmarks