VBA converter

S

Simon Prior

Hi there

I¹m trying to run a Windows originated Excel spreadsheet with visual basic
embedded commands on Office 2004. The Mactopia website offers a vba
converter for Office 2004, but only downloads the one for Office X which
will not install.

Does anyone know of a source for a 2004 converter?

Thanks

Simon
 
J

JE McGimpsey

Simon Prior said:
I¹m trying to run a Windows originated Excel spreadsheet with visual basic
embedded commands on Office 2004. The Mactopia website offers a vba
converter for Office 2004, but only downloads the one for Office X which
will not install.

Does anyone know of a source for a 2004 converter?

I thought the VBA converter was unnecessary in XL2004, but I might be
wrong.

However, I suspect it's not at all what you want. The VBA converter has
nothing to do with what platform the VBA was generated on, it's a
converter for pre-XL97(Win)/XL98(Mac) file formats.

All subsequent file formats (e.g., MacXL98/01/v.X/04 and
WinXL97/00/02/03) are identical, so no conversion is necessary.

MacOffice VBA and WinOffice 97 VBA is version 5. All subsequent Win
versions are VBA6. There's no automatic conversion available from VBA6
to VBA5. I'm not sure what "visual basic embedded commands" means, but
for most differences there are a number of workarounds available.

What specifically isn't converting?
 
S

Simon Prior

I thought the VBA converter was unnecessary in XL2004, but I might be
wrong.

However, I suspect it's not at all what you want. The VBA converter has
nothing to do with what platform the VBA was generated on, it's a
converter for pre-XL97(Win)/XL98(Mac) file formats.

All subsequent file formats (e.g., MacXL98/01/v.X/04 and
WinXL97/00/02/03) are identical, so no conversion is necessary.

MacOffice VBA and WinOffice 97 VBA is version 5. All subsequent Win
versions are VBA6. There's no automatic conversion available from VBA6
to VBA5. I'm not sure what "visual basic embedded commands" means, but
for most differences there are a number of workarounds available.

What specifically isn't converting?

I'm using a custom built budget spreadsheet. When I try to run it on a PC
and click on buttons to insert or delete rows (which also add formulae all
over the place) I get 'compile error in hidden module: sheet 6'. When I run
it on the Mac it doesn't recognise the buttons at all.
I've spoken to the IT department who suggest downloading VB runtime for the
windows machine and have no interest at all in the Mac.
As far as I can tell there are hidden macros somewhere; sadly I am just
competent enough to be dangerous and so don't know whether all they do is
fill down formulae or if they link to other sheets, profit margins or heaven
knows what.

And no one can tell me.

Thanks for your interest and help.
 
J

JE McGimpsey

Simon Prior said:
I'm using a custom built budget spreadsheet. When I try to run it on a PC
and click on buttons to insert or delete rows (which also add formulae all
over the place) I get 'compile error in hidden module: sheet 6'. When I run
it on the Mac it doesn't recognise the buttons at all.
I've spoken to the IT department who suggest downloading VB runtime for the
windows machine and have no interest at all in the Mac.
As far as I can tell there are hidden macros somewhere; sadly I am just
competent enough to be dangerous and so don't know whether all they do is
fill down formulae or if they link to other sheets, profit margins or heaven
knows what.

The buttons are ActiveX buttons from the Control Toolbox. Unfortunately,
ActiveX is a technology only implemented in Windows.

The workaround is to use Forms buttons and attach macros to them. This
is relatively simple to do, usually, but would need some knowledge of
VBA coding.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top