Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Attend QlikWorld 2020 and hear keynote speaker, Malcolm Gladwell. Register by February 29th to save $200. Learn More
MVP & Luminary
MVP & Luminary

Re: Macro disabled

Hi,

The If() is returning the false condition, because the file is not updated today, can you open the file and save it and run the macro again. 

  1.  
  2. if objFile.DateLastModified > cdate((date()) &" 12:00:00 AM"then ' (CDate(now)-1)  then 
  3.   call SendMail2(test, subject2) 
  4. else 
  5.   call SendMailToAdmin("TestReport failed in sending"
  6. End if 

View solution in original post

Highlighted
qlikviewwizard
Honored Contributor II

Re: Macro disabled

Hi, Jagan,

Thank you for the info. I will test and let you know the results.