Hello,
I have a column with a drop-down menu connected to another column with all the calendar dates, is there a way to open the drop-down menu and have the current date without having to scroll and search for it?
thanks
Last edited by MrProgrammer on Thu Jun 19, 2025 6:52 pm, edited 3 times in total.
Reason:Tagged ✓ [Solved] Use =TODAY()+ROW()-cell; No response from donnje
in the cells E4 and E191 on the sheet Foglio2. The list now has today's date as its first and last entry. Its important to set the formatting of those cells to match the date format you want displayed in the list. Otherwise, the drop down list will display the numeric value of the date.
If you want only today's date to be available, change the range of the Validity list to one cell containing the formula =TODAY().
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
maybe I explained myself badly, at the moment I already have the drop-down menu with the dates but I would like it to automatically give me the current date, while also leaving the possibility of inserting other dates
donnje wrote: ↑Wed May 21, 2025 7:43 am
maybe I explained myself badly, at the moment I already have the drop-down menu with the dates but I would like it to automatically give me the current date, while also leaving the possibility of inserting other dates
Extend the source-range of the other dates with one cell wich holds the Formula:
you may able to change the format-string to your needs??
AOO4, Libreoffice 6.1 on Rasbian OS (on ARM) Libreoffice 7.4 on Debian 12 (Bookworm) (on RaspberryPI4) Libreoffice 24.8… flatpak on Debian 12 (Bookworm) (on RaspberryPI4)
donnje wrote: ↑Wed May 21, 2025 7:43 am
maybe I explained myself badly, at the moment I already have the drop-down menu with the dates but I would like it to automatically give me the current date, while also leaving the possibility of inserting other dates
Extend the source-range of the other dates with one cell wich holds the Formula:
It may depend on your local settings whether yyyy-mm-dd is understood or not.
What does the Format code field show when you press Ctrl+1 and select Date in the Category list?
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
but I would like that by opening the drop-down menu today's date automatically appears 21, tomorrow the 22nd and so on
Just use the function
=TODAY()
=TODAY()+1
=TODAY()+2
...
in the source cell range of the DataValidity cell.
...Or do you want to use the text
"Yesterday"
"Today"
"Tomorrow"
instead of the date values?
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
is there a way for to have a calendar dates faster so you don't have to copy +1 +2 etc every time
Please upload YOUR sample file here to see the desired structure of the data.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.