Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Script for Exporting and Sending email

Hi Everybody,

Please help me the script to export the Qlikview documents into Excell/PDF file and the script to send email in Qlikview environment.

Many thanks,

Tai.

85 Replies
Not applicable
Author

I am using 64 bit  system......thats y its not working    ....

Anonymous
Not applicable
Author

im going to upgrade my qlikview to v11 this week, and ill test the dashboards of my company..ill tell you any issue or new.

Not applicable
Author

JochenAndries,

I've done everything and is giving the following error:

The ActiveX component can not create object: 'Bullzip.PDFPrinterSettings'

Do you have any tips to resolve this?

Not applicable
Author

friends,

after implementing this macro as I do to open the document to do some maintenance?

Not applicable
Author

Discover, just hold the SHIFT and open the document.

thank you

Anonymous
Not applicable
Author

just disconnect your rj-45 from the machine, then a window will appear !

Not applicable
Author

Hi Jochen,

it is indeed amazing solution, however i am facing one issue while exporting through QlikviewPDF or Bullzip PDF. the issue is i am always getting SAVE AS window.

how can i avoid and set default path. My script look like this. and personally i am using Window 7 x64 bit machine.

Sub ExportAndMail

    'ActiveDocument.reload

    vReport = "RP02" 'Set report

    vName = "QlikView Printing" 'Name of output pdf

    ActiveDocument.PrintReport(vReport), "Bullzip PDF Printer", false  'Printreport

    reportFile = "C:\Users\Gaurav\Desktop\" & vName &".pdf" 'Setting outputname

    MyPrintPDFWithBullZip(reportFile) 'Call pdf printer

    ActiveDocument.GetApplication.Sleep 5000

    mailrapport()

    ActiveDocument.Save

    ActiveDocument.GetApplication.Sleep 5000

   ' ActiveDocument.GetApplication.Quit

End sub

FUNCTION MyPrintPDFWithBullZip (pdfOutputFile)

    set obj = CreateObject("Bullzip.PDFPrinterSettings")

    obj.SetValue "Output" , pdfOutputFile

    obj.SetValue "ConfirmOverwrite", "No"

    obj.SetValue "ShowSaveAS", "never"

    obj.SetValue "ShowSettings", "never"

    obj.SetValue "ShowPDF", "no"

    obj.SetValue "RememberLastFileName", "no"

    obj.SetValue "RememberLastFolderName", "no"

    obj.SetValue "ShowProgressFinished", "no"

    obj.SetValue "ShowProgress", "no"

    obj.WriteSettings True

END FUNCTION

Appreciate your help.

Gaurav

Not applicable
Author

Your security-settings in the macro ? (on the left)

Not applicable
Author

GM,

you have to install Qlikview 32 bit and run QVW for him.

I had this same problem.

Not applicable
Author

it is system access for both ;(