Split screen woes in Word

M

mansky99

Hi all,
I'm having an odd problem with one of my Word VBA macros on a single Mac (OSX
10.4.11 and Word 11.3.5) that splits or unsplits a User's active window via a
shortcut key.

Here's the code snippet:

Dim MyWindow As Window
Set MyWindow = ActiveWindow
If (MyWindow.Split = True) Then
ActiveWindow.SplitVertical = 100
Else
ActiveWindow.SplitVertical = 50
End If


This macro is in a UserModule in a Startup template that all documents have
access to. The macro is executed via a shortcut key so that the User doesn't
need to use the GUI to manually split their active window into two panes.

The macro has worked fine on Jaguar, Panther and Tiger running Word X.
Recently, I upgraded one User's machine to Office 2004 and problems now occur
for
some documents on that machine only.

The problem is that once the active window is split into 2 panes and the
User clicks in one pane and proceeds to page up or page down in that pane,
the other pane also pages up or down as the first pane page no. passes by.
I've not been able to repeat this problem on the development machine, even
with a copy of the document in question.

Any ideas about what might cause both panes to page up/down when the
screen/window is split? Has anyone else seen this problem in Word 2004? BTW
I also see this when I split the window via the GUI as well.

Thanks!

Ed
 
C

CyberTaz

If the version you indicated is accurate information - 11.3.5 - the
installation is seriously lacking in updates. The current build is 11.5.1,
so that may well be the cause of the problem. Once Office is updated repair
disk permissions & restart the Mac.

HTH |:>)
Bob Jones
[MVP] Office:Mac
 
J

John McGhie

Hi Ed:

Which OS is the user running?

If you attempt that macro on a machine running OS 10.5, and Spaces is turned
on, I expect you would get very peculiar results, because the two windows
could end up in different spaces.

Cheers

Hi all,
I'm having an odd problem with one of my Word VBA macros on a single Mac (OSX
10.4.11 and Word 11.3.5) that splits or unsplits a User's active window via a
shortcut key.

Here's the code snippet:

Dim MyWindow As Window
Set MyWindow = ActiveWindow
If (MyWindow.Split = True) Then
ActiveWindow.SplitVertical = 100
Else
ActiveWindow.SplitVertical = 50
End If


This macro is in a UserModule in a Startup template that all documents have
access to. The macro is executed via a shortcut key so that the User doesn't
need to use the GUI to manually split their active window into two panes.

The macro has worked fine on Jaguar, Panther and Tiger running Word X.
Recently, I upgraded one User's machine to Office 2004 and problems now occur
for
some documents on that machine only.

The problem is that once the active window is split into 2 panes and the
User clicks in one pane and proceeds to page up or page down in that pane,
the other pane also pages up or down as the first pane page no. passes by.
I've not been able to repeat this problem on the development machine, even
with a copy of the document in question.

Any ideas about what might cause both panes to page up/down when the
screen/window is split? Has anyone else seen this problem in Word 2004? BTW
I also see this when I split the window via the GUI as well.

Thanks!

Ed

--

Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Microsoft MVP, Word and Word:Mac
Nhulunbuy, NT, Australia. mailto:[email protected]
 

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