close

I saw a note from Dave Peterson in a recent post on window splits. Dave
provided code to keep two windows synced. The code provided works fine
if both windows are the active workbook:

Option Explicit
Sub SyncWindows()
Windows.Arrange ActiveWorkbook:=True, _
synchorizontal:=True, syncvertical:=True
End Sub

Question I have is whether there is a similar method to keep windows on
separate worksheets or spreadsheets synced?

---Glenn--
gjcase
------------------------------------------------------------------------
gjcase's Profile: www.excelforum.com/member.php...oamp;userid=26061
View this thread: www.excelforum.com/showthread...hreadid=522874From xl2003's help for .arrange:

SyncHorizontal Optional Variant. Ignored if ActiveWorkbook is False or
omitted. True to synchronize the windows of the active workbook when scrolling
horizontally. False to not synchronize the windows. The default value is False.

SyncVertical Optional Variant. Ignored if ActiveWorkbook is False or omitted.
True to synchronize the windows of the active workbook when scrolling
vertically. False to not synchronize the windows. The default value is False.So it doesn't look like that this'll work for you.

gjcase wrote:
gt;
gt; I saw a note from Dave Peterson in a recent post on window splits. Dave
gt; provided code to keep two windows synced. The code provided works fine
gt; if both windows are the active workbook:
gt;
gt; Option Explicit
gt; Sub SyncWindows()
gt; Windows.Arrange ActiveWorkbook:=True, _
gt; synchorizontal:=True, syncvertical:=True
gt; End Sub
gt;
gt; Question I have is whether there is a similar method to keep windows on
gt; separate worksheets or spreadsheets synced?
gt;
gt; ---Glenn
gt;
gt; --
gt; gjcase
gt; ------------------------------------------------------------------------
gt; gjcase's Profile: www.excelforum.com/member.php...oamp;userid=26061
gt; View this thread: www.excelforum.com/showthread...hreadid=522874

--

Dave Peterson

全站熱搜
創作者介紹
創作者 software 的頭像
software

software

software 發表在 痞客邦 留言(0) 人氣()