OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Problem when launching a "closing" macro - SOLVED

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
nonoose
Newbie
Newbie


Joined: 23 Mar 2006
Posts: 2

PostPosted: Thu Mar 23, 2006 7:05 am    Post subject: Problem when launching a "closing" macro - SOLVED Reply with quote

Hi,
I have an error message when I launch the following macro :

Sub Close

ThisComponent.Close savechanges:=True

End Sub

The Macro works, but after it has closed the document the following error appears :
Runtime Error BASIC
"Object doesn't support arguments" (it's a translation from French...)
Could you help me ?
Regards
JN.G


Last edited by nonoose on Fri Mar 24, 2006 12:41 am; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group