Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
In my project for security reason we have uncheck the option to export and print in the qmc, but we have only for 2 user that they can export and print only some objects (not all the object in the document)
I implement some code using macro, but this doesnt work in ajax(only in ieplugin) is there any way to do this using fullbrowser(ajax)
thank you, i will appreciate all the help
Fernando
Fernando,
This code should work on Ajax (exporting specific chart to the file):
Sub PAExportMem
ActiveDocument.ShowPopup "Please wait...export may take several minutes. File will be saved to Exports folder.", 200
fileVar = ActiveDocument.Variables("vFilenameMem").GetContent.String
fileVar2 = "O:\data_ex\" & fileVar & ".xls"
set objExport = ActiveDocument.GetSheetObject("CH02")
objExport.ExportBiff fileVar2
objExport.ExportEx fileVar2,5
ActiveDocument.GetApplication.MsgBox("Chart Export Completed!")
End sub
How does this work on Ajax?...
Julia,
It works fine in several applications I've developed.
Why you asking?
VK