A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Synchronise horizontal scroll of table in split screen



 
 
Thread Tools Display Modes
  #1  
Old February 8th, 2006, 01:06 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Synchronise horizontal scroll of table in split screen

MS Word 2003.
I have my column headings in the top row of my table & have split the screen
so that I can add text to the other rows, whilst still being able to view the
headings. I'd like to be able to scroll holizontally so that the headings
remain aligned to the cells below them.
  #2  
Old February 9th, 2006, 02:42 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Synchronise horizontal scroll of table in split screen

As far as I know, there is no way to control the scrolling the way you
described it. But note that you don't have to split the screen to view
your heading row. Instead, you could just select the top row of the
table and, on the Table menu, click Heading Rows Repeat. That way,
you'll see it on all pages occupied by the table.

--
Stefan Blom
Microsoft Word MVP


"Charles Harrison" wrote in message
...
MS Word 2003.
I have my column headings in the top row of my table & have split
the screen
so that I can add text to the other rows, whilst still being able to
view the
headings. I'd like to be able to scroll holizontally so that the
headings
remain aligned to the cells below them.






  #3  
Old February 9th, 2006, 03:10 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Synchronise horizontal scroll of table in split screen

But only if you can see the whole page.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
As far as I know, there is no way to control the scrolling the way you
described it. But note that you don't have to split the screen to view
your heading row. Instead, you could just select the top row of the
table and, on the Table menu, click Heading Rows Repeat. That way,
you'll see it on all pages occupied by the table.

--
Stefan Blom
Microsoft Word MVP


"Charles Harrison" wrote in message
...
MS Word 2003.
I have my column headings in the top row of my table & have split
the screen
so that I can add text to the other rows, whilst still being able to
view the
headings. I'd like to be able to scroll holizontally so that the
headings
remain aligned to the cells below them.







  #4  
Old February 9th, 2006, 03:32 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Synchronise horizontal scroll of table in split screen

True.

--
Stefan Blom
Microsoft Word MVP


"Suzanne S. Barnhill" wrote in message
...
But only if you can see the whole page.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
As far as I know, there is no way to control the scrolling the way

you
described it. But note that you don't have to split the screen to

view
your heading row. Instead, you could just select the top row of

the
table and, on the Table menu, click Heading Rows Repeat. That way,
you'll see it on all pages occupied by the table.

--
Stefan Blom
Microsoft Word MVP


"Charles Harrison" wrote in message
...
MS Word 2003.
I have my column headings in the top row of my table & have

split
the screen
so that I can add text to the other rows, whilst still being

able to
view the
headings. I'd like to be able to scroll holizontally so that the
headings
remain aligned to the cells below them.










  #5  
Old February 9th, 2006, 04:28 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Synchronise horizontal scroll of table in split screen

Charles Harrison was telling us:
Charles Harrison nous racontait que :

MS Word 2003.
I have my column headings in the top row of my table & have split the
screen so that I can add text to the other rows, whilst still being
able to view the headings. I'd like to be able to scroll holizontally
so that the headings remain aligned to the cells below them.


Try this code:

'_______________________________________
Sub ActivateKeysUpDown()

CustomizationContext = ActiveDocument.AttachedTemplate

KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyEnd), _
KeyCategory:=wdKeyCategoryMacro, _
Command:="GoLeft"

KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyHome), _
KeyCategory:=wdKeyCategoryMacro, _
Command:="GoRight"

End Sub
'_______________________________________

'_______________________________________
Sub GoRight()

Dim Doc1 As Pane
Dim Doc1Index As Long
Dim Doc2 As Pane
Dim Doc2Index As Long

With ActiveDocument.Windows(1)
If .Panes.Count = 2 Then

Set Doc1 = .ActivePane
Doc1Index = .ActivePane.Index
If Doc1Index = 1 Then
Doc2Index = 2
Else
Doc2Index = 1
End If
Set Doc2 = .Panes(Doc2Index)

Doc2.Activate
Doc2.SmallScroll ToLeft:=5
Doc1.Activate
Doc1.SmallScroll ToLeft:=5

Set Doc1 = Nothing
Set Doc2 = Nothing

Else

.ActivePane.SmallScroll ToLeft:=5

End If
End With

End Sub
'_______________________________________

'_______________________________________
Sub GoLeft()

Dim Doc1 As Pane
Dim Doc1Index As Long
Dim Doc2 As Pane
Dim Doc2Index As Long

With ActiveDocument.Windows(1)
If .Panes.Count = 2 Then

Set Doc1 = .ActivePane
Doc1Index = .ActivePane.Index
If Doc1Index = 1 Then
Doc2Index = 2
Else
Doc2Index = 1
End If
Set Doc2 = .Panes(Doc2Index)

Doc2.Activate
Doc2.SmallScroll ToRight:=5
Doc1.Activate
Doc1.SmallScroll ToRight:=5

Set Doc1 = Nothing
Set Doc2 = Nothing

Else

.ActivePane.SmallScroll ToRight:=5

End If
End With

End Sub
'_______________________________________

Run
ActivateKeysUpDown
(Alt-F8 from the main Word window) to activate the End-Home keys new
behaviour.
Change the value in the ToRight and ToLeft statement to get the scroll speed
you want.

This would work best with a template dedicated to those documents.

Create a template with the code, then attach that template to those
documents in which you want that double scrolling behaviour.

Else, change the line
CustomizationContext = ActiveDocument.AttachedTemplate
to
CustomizationContext = ActiveDocument
Add the code to the document itself (Not its template)
and run
ActivateKeysUpDown
to activate the keys.
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
ISTOO
Word MVP site:
http://www.word.mvps.org


  #6  
Old March 1st, 2006, 03:54 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Synchronise horizontal scroll of table in split screen

Jean-Guy,
I created a template & biult in your code. It works perfectly. Many thanks.
Charles

"Jean-Guy Marcil" wrote:

Charles Harrison was telling us:
Charles Harrison nous racontait que :

MS Word 2003.
I have my column headings in the top row of my table & have split the
screen so that I can add text to the other rows, whilst still being
able to view the headings. I'd like to be able to scroll holizontally
so that the headings remain aligned to the cells below them.


Try this code:

'_______________________________________
Sub ActivateKeysUpDown()

CustomizationContext = ActiveDocument.AttachedTemplate

KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyEnd), _
KeyCategory:=wdKeyCategoryMacro, _
Command:="GoLeft"

KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyHome), _
KeyCategory:=wdKeyCategoryMacro, _
Command:="GoRight"

End Sub
'_______________________________________

'_______________________________________
Sub GoRight()

Dim Doc1 As Pane
Dim Doc1Index As Long
Dim Doc2 As Pane
Dim Doc2Index As Long

With ActiveDocument.Windows(1)
If .Panes.Count = 2 Then

Set Doc1 = .ActivePane
Doc1Index = .ActivePane.Index
If Doc1Index = 1 Then
Doc2Index = 2
Else
Doc2Index = 1
End If
Set Doc2 = .Panes(Doc2Index)

Doc2.Activate
Doc2.SmallScroll ToLeft:=5
Doc1.Activate
Doc1.SmallScroll ToLeft:=5

Set Doc1 = Nothing
Set Doc2 = Nothing

Else

.ActivePane.SmallScroll ToLeft:=5

End If
End With

End Sub
'_______________________________________

'_______________________________________
Sub GoLeft()

Dim Doc1 As Pane
Dim Doc1Index As Long
Dim Doc2 As Pane
Dim Doc2Index As Long

With ActiveDocument.Windows(1)
If .Panes.Count = 2 Then

Set Doc1 = .ActivePane
Doc1Index = .ActivePane.Index
If Doc1Index = 1 Then
Doc2Index = 2
Else
Doc2Index = 1
End If
Set Doc2 = .Panes(Doc2Index)

Doc2.Activate
Doc2.SmallScroll ToRight:=5
Doc1.Activate
Doc1.SmallScroll ToRight:=5

Set Doc1 = Nothing
Set Doc2 = Nothing

Else

.ActivePane.SmallScroll ToRight:=5

End If
End With

End Sub
'_______________________________________

Run
ActivateKeysUpDown
(Alt-F8 from the main Word window) to activate the End-Home keys new
behaviour.
Change the value in the ToRight and ToLeft statement to get the scroll speed
you want.

This would work best with a template dedicated to those documents.

Create a template with the code, then attach that template to those
documents in which you want that double scrolling behaviour.

Else, change the line
CustomizationContext = ActiveDocument.AttachedTemplate
to
CustomizationContext = ActiveDocument
Add the code to the document itself (Not its template)
and run
ActivateKeysUpDown
to activate the keys.
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
ISTOO
Word MVP site:
http://www.word.mvps.org



  #7  
Old March 2nd, 2006, 09:47 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Synchronise horizontal scroll of table in split screen

Charles Harrison was telling us:
Charles Harrison nous racontait que :

Jean-Guy,
I created a template & biult in your code. It works perfectly. Many
thanks. Charles


Glad I could help!

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
ISTOO
Word MVP site:
http://www.word.mvps.org


  #8  
Old August 14th, 2006, 05:50 PM posted to microsoft.public.word.tables
Diddakoi
external usenet poster
 
Posts: 18
Default Synchronise horizontal scroll of table in split screen

This looks like it this may be the answer I'm seeking for my question,
however, when I tried to do what Jean-Guy has suggested here, I get stuck on
the first step --when I do Alt-F8 from the main Word menu, I don't get
ActivateKeysUpDown as a choice. Am I doing something wrong? (I also have
Word 2003) Any suggestions much appreciated!

"Jean-Guy Marcil" wrote:

Charles Harrison was telling us:
Charles Harrison nous racontait que :

Jean-Guy,
I created a template & biult in your code. It works perfectly. Many
thanks. Charles


Glad I could help!

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
ISTOO
Word MVP site:
http://www.word.mvps.org



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to edit records in a form or query Merlin Using Forms 7 May 10th, 2005 02:00 PM
Table Design A. Williams Database Design 3 April 29th, 2005 07:02 PM
unable to repair inobox Sudheer Mumbai General Discussion 1 February 20th, 2005 12:55 PM
Manual line break spaces on TOC or Table of tables Eric Page Layout 9 October 29th, 2004 04:42 PM
COMPARE THE TWO TABLES Stefanie General Discussion 0 June 4th, 2004 04:36 PM


All times are GMT +1. The time now is 12:50 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.