timhillyard
New Member
- Joined
- Apr 18, 2011
- Messages
- 6
Hello,
I create a new worksheet on a weekly basis. On the most recent worksheet in cell A1, I will enter a number. In cell A2, I would like a formula that calculates the difference between cell A1 and cell A1 of the previous sheet.
As I am always making a new sheet, I would like a formula that doesn't involve me having to manually enter a different sheet name into the formula bar every time.
I have looked over many forums on the internet, suggesting Visual Basic codes. However, whenever I try and use them, I get the '#name?' reference. I am wondering if I am using Visual Basic slightly wrong, which is why I am getting an error, because other people with this problem seem to have had their issue solved.
Regards,
Tim
I create a new worksheet on a weekly basis. On the most recent worksheet in cell A1, I will enter a number. In cell A2, I would like a formula that calculates the difference between cell A1 and cell A1 of the previous sheet.
As I am always making a new sheet, I would like a formula that doesn't involve me having to manually enter a different sheet name into the formula bar every time.
I have looked over many forums on the internet, suggesting Visual Basic codes. However, whenever I try and use them, I get the '#name?' reference. I am wondering if I am using Visual Basic slightly wrong, which is why I am getting an error, because other people with this problem seem to have had their issue solved.
Regards,
Tim