Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Can anyone please have a look on attached and when I am clicking ok the macro it is hightlighting
Email=v.GetContent.String and showing
Object Required=v
Please can anyone let me know is there any error in macro.
thanks.this was useful for me. i want same macro for exporting an image in excel (pivot table)
please help
Take a look on these postings: https://community.qlik.com/search.jspa?q=macro+mail&type=document
- Marcus
Here error is coming as expected identifier so can you please help ?
I wouldn't try it with a function else I would call a sub-routine. Further there is nothing to call the function and the object-variable isn't defined - why not just using something like this example from the APIGuide.qvw:
sub export
rem *** This method is not meaningful for all types of sheet objects ***
set obj = ActiveDocument.GetSheetObject("CH01")
obj.ExportBitmapToFile "MyImage.bmp"
end sub
- Marcus
this error can be seen when I am using sub routine function
sir where ? can you please send me the screen shot if possible?
You need to ensure that the ID of your object is really "CH01" - that there really exists this object. Further I'm not absolutely sure if the example is complete in regard to the file-name - I would add a path and therefore using a full-path.
- Marcus