Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Run macro only on Monday.

I have an application that updates every day.
I need to run a macro after this update only on Monday.

Does anyone have an idea how to do this?

Labels (1)
1 Reply
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     You can restrict it inside the macro itself

    

if(DatePart("w",Date(),1) <> 2) then

          exit sub

end if

Which should be at the start of the sub routine

Celambarasan