- Konrad Kaltenbach
- PowerBuilder
- Monday, 29 March 2021 08:57 AM UTC
Dear Experts,
I want to call the VBA Excel functions with optional parameters like Range.PasteSpecial(...) for example in PowerScript functions.
I tried the following:
OLEObject lole_WS_From // Excel worksheet
OLEObject lole_WS_To // Excel worksheet
(...)
lole_WS_From.Rows("1:3").Copy // works
lole_WS_To.Rows("1:3").PasteSpecial(-4163, -4142, False, False) // results in
// "Error calling external object function pastespecial"
Is it possible to call VBA Excel functions with optional parameters?
If it's possible: How is the syntax?
Thanks in advance for all trials to help me!
Kind regards,
Konrad Kaltenbach
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.