[Wine] Re: VBA in MSOffice?

dimesio wineforum-user at winehq.org
Sat Jan 24 22:10:41 CST 2009


Morgan Read wrote:
> 
> I have a macro that fails in Word, are there any work-arounds, alternate
> dlls etc that can be suggested to get it going?  Is there any forum
> dedicated to getting these going?
> 
> I've installed MSOffice like so:
> cd "/media/Office 2003 Pro/OFFICE";\
> # Set your preferences
> WINEPREFIX=~/.MSOffice winecfg;\
> # Click through the dialogues
> WINEPREFIX=~/.MSOffice winetricks wsh56 vb3run vb4run vb5run vb6run
> msxml3 msxml4 msxml6 gecko;\
> 


Why are you using all those overrides? None are needed to install or run Office 2003 in current Wine. 


> 
> WINEPREFIX=~/.MSOffice wine SETUP.EXE;\
> ### This script seems to stall here???!!!


What script are you talking about? Third party scripts (e.g., wine-doors, playonlinux, bordeaux) are not support here. 

What version of Wine are you using? If it's not the latest, upgrade. 

Delete or rename your old ~/.wine and run the installer again, with no overrides, no tweaks, and no third party scripts. After installing, set an override for riched20. There is no need for winetricks; Office installs its own riched20.

The problem with macros is http://bugs.winehq.org/show_bug.cgi?id=11415 . I've found that putting an empty stdole2.tlb in Wine's windows/sytem32 directory was enough to enable Word 2003 to record and play simple macros, but I haven't really tested it beyond that. There are other possible workarounds mentioned in the bug report if that doesn't work for you.







More information about the wine-users mailing list