Dynamic Calender

OmegaPrime

New Member
Joined
Jun 16, 2015
Messages
1
Hello all

Here is my situation, I am constructing a roster and the format is thus: Sheet1 is MENU and Sheets2-13 are calendar months. Each month is set out in 5 one week blocks (Monday-Sunday) so the days are static as this format for the days best suits the end user.

Currently I am using 2 arguments in my date formula:

1: a static cell containing 01/01/1900 and
2: a spin box that the years 2014-2040

and the formula is thus: =DATE(MENU!$D$3,MENU!$C$3,-2)

So the end of the formula is variable and is changed from 1 through to -6 so that the 1st of Jan falls to its correct day e.g. this year its on Thursday and next year it will be on Friday.

What i want is to remove the need for the end user to have to update that variable every year and have the formula do it automatically based on the year being being changed.

My second problem is my menu uses buttons constructed from shapes as I would prefer to have more design control over them. So I need each button to go to its corresponding sheet bearing in mind that the final delivered project will have the sheets hidden. I have found a few ideas for making this work but none seemed to work for me. I am pretty new to this so maybe I just did not understand properly the VBA code offered in these solutions.

Thanks in advance for any and all help!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,195,630
Messages
6,010,778
Members
441,569
Latest member
PeggyLee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top