Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need Help on to Show Current Year on Sheet

I tried to show the Current year taking last 4 years values. i am unable to show the Current year automatic Selection on Sheet.

I am trying to see the automatic Current Year Selection, When we Open the Sheet. Please help me with this Issue.

8 Replies
sunny_talwar

May be add Onsheet triggers. Have you already tried that?

PabloOrtiz
Partner - Creator
Partner - Creator

Hi,

Try this .qvw,

There is an event when you open de document.

Not applicable
Author

i cannot find any Qvw.

ziadm
Specialist
Specialist

it works on my PC, Once the document opened the year selected is 2016..

what is your QV version

Not applicable
Author

i am using 11.2 version

ziadm
Specialist
Specialist

i did not attach any thing because your original qvw file is working

Not applicable
Author

may i know the procedure to Show the Current Year Selection.

ziadm
Specialist
Specialist

it same version i am using

Try to change the date setting in your script and make it ISO


SET DateFormat='YYYY-MM-DD';

let vYear = Year(Today(0)) ;