i\'m fairly new to vba and have a problem. So I found from this site this code and it works fine, it prints last slide as pdf.
PDFtesti() timestamp = Now