K
kristof.vanbeek
Hellow there,
I am working for a couple of weeks on Mac now, but I am experiencing a
weird problem. I made some templates in Microsoft Word for PC. In
these templates, there is some VBA code to make it all work properly.
In these code I make a toolbar to change the document at runtime. This
is all working properly on Windows.
Now they asked me to make it run on Mac. So I started testing on Mac.
In the beginning of the template, there are screens who are asking
some input from the user. This is all working properly. After all
those screens, you'll get the document. In this document is also the
same toolbar to change somethings at runtime (letter - memo layout)
(Send by post - fax - mail).
But on Mac, this toolbar isn't working. If I choose something from the
comboboxes, then the right fields aren't filled in. He always sets the
things to letter - Post (standard format). So if I want to send a
letter by mail, the mailadres should appear on the document. But that
isn't working because Word:Mac thinks it should be a letter by post
and then you don't need an e-mailadress.
So I think to myself, I set a breakpoint in the code, so I can debug
the code and see where things go wrong. So far so good, but if I do
this, everything is working fine. All the code he should be running
according to the toolbar. So if I the choose for letter - mail, he is
running the code for this. All is working good then. But if I remove
the breakpoint, it isn't working anymore.
Breakpoint in code again, enters code, working.
Remove breakpoint, running, don't work.
I am running on Mac OS X Version 10.4.10 with a version of Mac:Word
2004
Does anyone have a clue of how this can be fixed, or what's the reason
and if it can be fixed?
I am working for a couple of weeks on Mac now, but I am experiencing a
weird problem. I made some templates in Microsoft Word for PC. In
these templates, there is some VBA code to make it all work properly.
In these code I make a toolbar to change the document at runtime. This
is all working properly on Windows.
Now they asked me to make it run on Mac. So I started testing on Mac.
In the beginning of the template, there are screens who are asking
some input from the user. This is all working properly. After all
those screens, you'll get the document. In this document is also the
same toolbar to change somethings at runtime (letter - memo layout)
(Send by post - fax - mail).
But on Mac, this toolbar isn't working. If I choose something from the
comboboxes, then the right fields aren't filled in. He always sets the
things to letter - Post (standard format). So if I want to send a
letter by mail, the mailadres should appear on the document. But that
isn't working because Word:Mac thinks it should be a letter by post
and then you don't need an e-mailadress.
So I think to myself, I set a breakpoint in the code, so I can debug
the code and see where things go wrong. So far so good, but if I do
this, everything is working fine. All the code he should be running
according to the toolbar. So if I the choose for letter - mail, he is
running the code for this. All is working good then. But if I remove
the breakpoint, it isn't working anymore.
Breakpoint in code again, enters code, working.
Remove breakpoint, running, don't work.
I am running on Mac OS X Version 10.4.10 with a version of Mac:Word
2004
Does anyone have a clue of how this can be fixed, or what's the reason
and if it can be fixed?