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

VBA to OOBasic

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
Angellina
OOo Enthusiast
OOo Enthusiast


Joined: 28 May 2004
Posts: 130
Location: France - Paris

PostPosted: Thu Jun 03, 2004 12:28 am    Post subject: VBA to OOBasic Reply with quote

Hello,

Can you tell me how can me convert a VBA macro to an OOBasic macro?
thank you very mutch

Angellina Wink
Back to top
View user's profile Send private message
DiGro
Super User
Super User


Joined: 02 Jun 2004
Posts: 1415
Location: Hoorn NH, The Netherlands

PostPosted: Thu Jun 03, 2004 1:09 pm    Post subject: Reply with quote

Sorry Angelina,

it's simple. You can't ! Sad

You will have to rewrite your macro's into Basic.

DiGro
Back to top
View user's profile Send private message
Iannz
OOo Advocate
OOo Advocate


Joined: 14 Feb 2004
Posts: 494
Location: Christchurch, New Zealand

PostPosted: Thu Jun 03, 2004 5:19 pm    Post subject: Reply with quote

It is true that you have to manually convert VBA macros.
To get some assistance with the process use the Macros and API forum.
At the top of that forum there is "sticky" posting to a very good document on converting VBA macros. It is primarily spreadsheet based but still very useful.
The code snippets forum has lots of really good examples to follow.
A site that may be of interest is:http://www.pitonyak.org/oo.php at the bottom of the page are links to other useful sites.
_________________
Cheers, Ian

http://wiki.services.openoffice.org/wiki/Extensions_development_basic a wiki about writing OpenOffice.org extensions.
Back to top
View user's profile Send private message
avantman42
Super User
Super User


Joined: 28 Jul 2003
Posts: 751
Location: Staffordshire, UK

PostPosted: Fri Jun 04, 2004 1:16 am    Post subject: Reply with quote

You might also want to look at OOoMacros, which has lots of macros, add-ins, documentation, etc. If you're really lucky, you might find something that does what you want, or something close to it. They are all open source, so if you can find something that nearly does what you want, it might be easier to adapt an existing solution.

Alternatively, if your requirement is simple, you might be able to record a macro using the macro recorder.

Russ
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 Writer 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