https://bugs.documentfoundation.org/show_bug.cgi?id=105451

--- Comment #3 from Frederic Parrenin 
<[email protected]> ---
So, in an Impress file, I created the following macro :

Option VBASupport 1
Sub Main
ActiveWindow.Selection.SlideRange.Shapes.AddShape(msoShapeRectangle, 150, 192,
168, 126).Select
End Sub

in the hope it would draw a rectangle, but I get an error:

Erreur d'exécution BASIC '91'
Variable d'objet non définie

If VBA is supported in Impress, could you give me a basic example?
Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to