Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 926

Macro to Automatically Update Dates in Spreadsheet Formulas and Conditional Formatting?

$
0
0

I have an Excel 365 spreadsheet that gets re-created each year. It contains a lot of formulas containing dates (full year or date ranges for calendar quarters) and conditional formatting (with formulas that contain dates). Can I create a macro that prompts the user to enter a year and then updates all cell formulas and conditional formatting formulas across all sheets in a workbook?

Currently, I do a standard search and replace for the cell formulas, but I have to manually update all of the dates in the conditional formatting formulas. I anticipate passing this task to another person in the coming months and I'd like to make this update process as simple/automatic as possible, since my successor will in all likelihood NOT have the advanced Excel skills or the time to do the manual updates, especially since this task is only done once a year.

Thank you!


Viewing all articles
Browse latest Browse all 926

Trending Articles