JCSKirkman
New Member
- Joined
- Jul 23, 2010
- Messages
- 1
Hi all.
Complete newbie at excel macro writing here so please forgive me in advance.
I am using Quickbooks (2008) to run my company's accounts. At each month end, I export my balance sheet and P&L report to Excel 2007 where I have written a macro to reformat the numbers - this involves adding and deleting certain rows. My problem lies with the formula I have written to add up certain sets of numbers. For example, last month end's report adds, say, cell H12 and H13 to give a total in H14. This month, however, the report I have exported from Quickbooks is larger so the numbers are now in cells H20 and H21 but my formula is still looking for values in H12 and H13 (where they don't exist any more).
I hope this makes sense and would be very grateful for any help.
Complete newbie at excel macro writing here so please forgive me in advance.
I am using Quickbooks (2008) to run my company's accounts. At each month end, I export my balance sheet and P&L report to Excel 2007 where I have written a macro to reformat the numbers - this involves adding and deleting certain rows. My problem lies with the formula I have written to add up certain sets of numbers. For example, last month end's report adds, say, cell H12 and H13 to give a total in H14. This month, however, the report I have exported from Quickbooks is larger so the numbers are now in cells H20 and H21 but my formula is still looking for values in H12 and H13 (where they don't exist any more).
I hope this makes sense and would be very grateful for any help.