How do I stop Word document (with VBA) opening in design mode

P

Peter

I have a Word document with some underling VBA which works well under windows
but when I open it with Word 2004 on Mac it always opens in Design Mode and I
can't click on the buttons to start it.

How can I stop it opening in Design Mode?

The functioning document is available for download at:
http://www.usq.edu.au/users/evansp/browse/eMarking_Assistant/markingRubric.doc

In case you want to look at the content it is a marking rubric allowing
people to click a button to highlight a performance standard and add the
mark. There also a button to add and rescale the marks.

The interface is that they click their cursor in the row they want to
highlight then click "Select Standard" on the floating userform. This
highlights the row and puts the mark in the last column. There is also an
"Unseelct standard" button and one to add and rescale the marks.

Thanks in advance for any assistance,
PeterEvans
 
C

CyberTaz

Hi Peter;

The doc isn't opening in "Design Mode" - there is no such mode in Mac Word &
that's symptomatic of the problem. The buttons were created as ActiveX
Objects on the PC & ActiveX Controls aren't supported by the Mac OS. As a
result the buttons are simply being displayed as Picture Objects.

The macros are there, but it doesn't appear they will function on a Mac - at
least not "as is". I'm not a VBA guru so I can't suggest what might be
doable, but perhaps one of the others can comment on that. I don't see any
way you can handle it locally, though, because the VBA Projects are locked.

Regards |:>)
Bob Jones
[MVP] Office:Mac
 
P

Peter

Auuugh!

I am now using function keys to run the macros and that is all working fine.
Application.CustomizationContext = ThisDocument
KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyF5),
KeyCategory:=wdKeyCategoryCommand, Command:="SelectStandard"

The floating usrform is still in the document as windows people might decide
to use it instead of the function keys.

BUT when I open it on the Mac now I see the message
" Can't exit design mode becuase control "ShowMarkingRubricToolbar" can
not be created"
The application works correctly once this error is OKed away.

The toolbar is only shown when you click on a button and that is not active
in the mac side of things.

How can I get rid of that initial warning?

The completed automated marking rubric application is downloadable from
http://www.baker-evans.com/community/mod/forum/discuss.php?d=179

Feel free to distribute to anyone who might be interested,

PeterEvans
 

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