Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
chrismtb
Creator
Creator

Auto select Max date in list box

Hi,

I have a list box with dates in.

As my dashboard publishes daily the list box updates with new dates.

I want my list box to select the most recent date available by default.

I think this should be simple but not sure how to do it!

Thanks

Labels (2)
1 Solution

Accepted Solutions
chrismtb
Creator
Creator
Author

I actually ended up putting the event trigger on the Document Open Actions rather than the sheet activate.

Also i had to use =MaxString(MyDate) rather than just Max as this didn't work initially.

Now working perfectly so thanks!

 

View solution in original post

2 Replies
Taoufiq_Zarra

since you can't add actions to the lists.
I propose the following scenario:
1- in Sheet properties -> Trigger->OnActivateSheet->Edit Actions

2-Add->Select in Field->
Field: your date
Searching String: =Max(date)

with this the users automatically get the date selected.

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
chrismtb
Creator
Creator
Author

I actually ended up putting the event trigger on the Document Open Actions rather than the sheet activate.

Also i had to use =MaxString(MyDate) rather than just Max as this didn't work initially.

Now working perfectly so thanks!