Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I am using a year slider which has data from 2000 to 2050 applicable for a variety of measures.But the problem is for a particular measure there is only data for three years i.e 2005,2011,2013.So if the user selects that particular measure I need to display him a message to only select any one of these three years.
can anyone please help me to solve the problem
Thanks in advance
hi
for generate message box,
go to menu--> tool--> alert box --> add --> write message and also write condition
you can also generate message by use of macro like this
Sub run
set a=ActiveDocument.Variables("test1")
set b=ActiveDocument.Variables("test2")
If a.GetContent.String = b.GetContent.String Then
msgbox("duplicate value")
Else
'msgbox(" value")
end if
end sub
here test1 and test2 are variables.
Thanks
I tried to do using alerts,but once if i close the app and open again the alert is not displaying.
hi
example take a input box then add two variable like test1 test2.
now in alert box,
write condition test1=test2
if condition true then message display, otherwise not display.
thanks
Hi Vishwaranjan
It is working ,But when i deslect it and select again or close and open the app again the alert is not displaying
Thanks