| View previous topic :: View next topic |
| Author |
Message |
Angellina OOo Enthusiast

Joined: 28 May 2004 Posts: 130 Location: France - Paris
|
Posted: Thu Jun 03, 2004 12:28 am Post subject: VBA to OOBasic |
|
|
Hello,
Can you tell me how can me convert a VBA macro to an OOBasic macro?
thank you very mutch
Angellina  |
|
| Back to top |
|
 |
DiGro Super User


Joined: 02 Jun 2004 Posts: 1208 Location: Hoorn NH, The Netherlands
|
Posted: Thu Jun 03, 2004 1:09 pm Post subject: |
|
|
Sorry Angelina,
it's simple. You can't !
You will have to rewrite your macro's into Basic.
DiGro |
|
| Back to top |
|
 |
Iannz OOo Advocate

Joined: 14 Feb 2004 Posts: 494 Location: Christchurch, New Zealand
|
Posted: Thu Jun 03, 2004 5:19 pm Post subject: |
|
|
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 |
|
 |
avantman42 Super User

Joined: 28 Jul 2003 Posts: 751 Location: Staffordshire, UK
|
Posted: Fri Jun 04, 2004 1:16 am Post subject: |
|
|
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 |
|
 |
|