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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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?

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