Need VBA/data validation solution

halesowenmum

Active Member
Joined
Oct 20, 2010
Messages
383
Office Version
  1. 365
Platform
  1. Windows
The rows/cells that contain the date data that I need to reference are:

Col A, rows 5-19 - A5 contains a custom formatted date that displays as 'W/c 7 September 2017'
Col A, rows 20-23 - A20 contains a custom formatted date for the next week in the same format
Col A, rows 24-30 - A24 contains a custom formatted date for the next week in the same format
Col A, rows 31-43 - A31 contains a custom formatted date for the next week in the same format
Col A, rows 44-50 - A44 contains a custom formatted date for the next week in the same format
Col A, rows 51-58 - A51 contains a custom formatted date for the next week in the same format
Col A, rows 59-63 - A59 contains a custom formatted date for the next week in the same format
Col A, rows 64-69 - A64 contains a custom formatted date for the next week in the same format


B51 thru E69 is the cell range I want to do things to.

Because in column F I have a filter that can be applied, so just using straightforward data validation input message doesn't work because as you apply the filter, the rows obviously scrunch up and you can't now see what the date is (plus I don't know how to reference a cell within data validation in order to display an input message based on the value in another cell - I don't think you can do it but happy to be advised otherwise!). So whenever the user's cursor is in this cell range I'd like the week commencing date relating to those rows (as shown above) to display for them so they can be sure they're adding it into the correct section.

Would anyone have some VBA that would do this?

Many thanks indeed.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,223,907
Messages
6,175,301
Members
452,633
Latest member
DougMo

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
Back
Top