BillPeterson
New Member
- Joined
- Jan 16, 2022
- Messages
- 22
- Office Version
- 365
- Platform
- Windows
I have VBA code to copy a template tab every month and now want it to also update several formulas. Here are 2 formulas with a description of the desired outcome immediately above each formula.
#1: The formula below is in Cell A1, and I want VBA code to make it point to one cell up on the same "Budget" tab.... i.e. a relative offset so regardless of the row number it reduces the value by 1... which would change S12 to S11:
#2: The formula below is in Cell R8, and I want VBA code to make it point to "Jun" instead of "May", "Jul" instead of "Jun" and so on.... i.e. always increment the month and if necessary, the year "24Jan" instead of "23Dec":
Thanks in advance for your help!
#1: The formula below is in Cell A1, and I want VBA code to make it point to one cell up on the same "Budget" tab.... i.e. a relative offset so regardless of the row number it reduces the value by 1... which would change S12 to S11:
Excel Formula:
=Budget!S12
#2: The formula below is in Cell R8, and I want VBA code to make it point to "Jun" instead of "May", "Jul" instead of "Jun" and so on.... i.e. always increment the month and if necessary, the year "24Jan" instead of "23Dec":
Excel Formula:
=CC23May!B1+A1
Thanks in advance for your help!