<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.7" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Utilising dual monitors with Microsoft Excel 2003</title>
	<link>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/</link>
	<description>Technical musings...</description>
	<pubDate>Fri, 05 Sep 2008 21:44:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.7</generator>

	<item>
		<title>by: Elmar</title>
		<link>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-31696</link>
		<pubDate>Fri, 14 Mar 2008 14:45:00 +0000</pubDate>
		<guid>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-31696</guid>
					<description>Now is there any way to do this in powerpoint as well?</description>
		<content:encoded><![CDATA[<p>Now is there any way to do this in powerpoint as well?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Pepe Tan</title>
		<link>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-30943</link>
		<pubDate>Fri, 29 Feb 2008 09:42:28 +0000</pubDate>
		<guid>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-30943</guid>
					<description>Great help! This Excel problem has been one of my major frustration, now you have helped me solved it. 

More power to you!</description>
		<content:encoded><![CDATA[<p>Great help! This Excel problem has been one of my major frustration, now you have helped me solved it. </p>
<p>More power to you!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Gary</title>
		<link>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-29470</link>
		<pubDate>Thu, 14 Feb 2008 21:08:31 +0000</pubDate>
		<guid>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-29470</guid>
					<description>Works great. Had to set this for both Excel 2003 and 2007 documents, as i open both the old and new....
Thanks.</description>
		<content:encoded><![CDATA[<p>Works great. Had to set this for both Excel 2003 and 2007 documents, as i open both the old and new&#8230;.<br />
Thanks.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: TD</title>
		<link>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-29063</link>
		<pubDate>Mon, 11 Feb 2008 14:44:49 +0000</pubDate>
		<guid>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-29063</guid>
					<description>Rich,
In using your registry change, separate instances of Excel 2007 in Vista do open.  However, the files themselves that I've opened Excel with do not actually open.  Is there an extra step I'm missing?  Also, it would be FANTASTIC if there was a way to give users the option of switching between having spreadsheets open in separate windows or in the same--for instance, have 2 open in one window, and another 2 in a different window.</description>
		<content:encoded><![CDATA[<p>Rich,<br />
In using your registry change, separate instances of Excel 2007 in Vista do open.  However, the files themselves that I&#8217;ve opened Excel with do not actually open.  Is there an extra step I&#8217;m missing?  Also, it would be FANTASTIC if there was a way to give users the option of switching between having spreadsheets open in separate windows or in the same&#8211;for instance, have 2 open in one window, and another 2 in a different window.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: d</title>
		<link>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-28650</link>
		<pubDate>Fri, 08 Feb 2008 03:16:00 +0000</pubDate>
		<guid>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-28650</guid>
					<description>thank you for this great tutorial about how to automatically open multiple instances of microsoft excel !</description>
		<content:encoded><![CDATA[<p>thank you for this great tutorial about how to automatically open multiple instances of microsoft excel !
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Charlie</title>
		<link>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-26110</link>
		<pubDate>Fri, 11 Jan 2008 17:21:46 +0000</pubDate>
		<guid>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-26110</guid>
					<description>All of my Excel work involves VBA so I created a module I insert in all of my workbooks.  I invoke two subs, one in Workbook_Open and the other in Workbook_BeforeClose.  One sub "isolates" Excel from opening additional workbooks (unless you explicitly use File--&#62;Open menu).  The other "exposes" it once again upon close.

This is accomplished by using VBA to set an Excel Application flag "IgnoreRemoteRequests" to True or False.  This flag can also be set manually in Tools--&#62;Options (General Tab)--&#62;"Ignore Other Applications"

"IgnoreRemoteRequests" is an APPLICATION flag which means it alters the functionality of your copy of Excel.  It is not a workbook flag and therefore is not saved with the workbook.  The state of all application flags are only saved upon exit of Excel, and the last instance closed will overwrite all flag settings of the previously closed instance.  The settings of any already open instances of Excel will not be "seen" by opening another instance.  Also, this setting will be for your installed copy of Excel only.  Sending someone one of your workbooks will not change their Excel settings (unless your workbook contains the VBA that changes the settings.) *

*Note: our workstations have local copies of Excel installed.  I don't know how application settings are saved in a shared environment.

It can get confusing.  Say you have no copies of Excel open and the current state of Ignore=No.  You open a workbook containing the VBA subs which set Ignore=Yes.  (You can see the "Ignore" box checked in the options menu, General tab.)

You Dbl-click another workbook, one that does not have the VBA subs.  It will open in a new instance of Excel because the first one open is now ignoring open requests.  But, if you look in the options menu you will see the second Excel is not ignoring requests.  If you Dbl-Click a third workbook it will open in the second instance of Excel, not in a new instance and not in the first one.

You decide to close both Excel instances.  Whichever instance you close last will be the settings used the next time Excel opens.  This is REGARDLESS of whether or not you save any workbook changes -- remember, this is an application flag not a workbook flag.

If you close the first instance last the Ignore flag will still be set to True.  This can be a problem.  The next time you Dbl-Click an .xls file, or attempt to open an Excel mail attachment, etc. you will only see an empty blue window.  Excel is ignoring the open request!

This event can be a surprise.  It appears as if Excel is "broken."  Not to worry, simply use File--&#62;Open to open your workbook, then go to the Options menu and uncheck the "Ignore Other Applications" box.

To automatically prevent this situation from happening, if you turn on the "Ignore" flag upon starting Excel it is imperative that you turn it off before exit.  Here are the subs that accomplish these tasks:

' (put in ThisWorkbook module)

Private Sub Workbook_BeforeClose(Cancel As Boolean)
'
    ExposeExcel
'
End Sub

Private Sub Workbook_Open()
'
    IsolateExcel
'
End Sub

' (put these in Module1)

Global Const Yes As Boolean = True
Global Const No As Boolean = False

Public Sub ExposeExcel()
'
'   accept remote requests (double-clicking a workbook file will now open in this
'   instance of Excel instead of starting a new instance)
'
    Application.DisplayAlerts = No
    Application.IgnoreRemoteRequests = No
    Application.DisplayAlerts = Yes
'
End Sub

Public Sub IsolateExcel()
'
'   ignore remote requests (double-clicking a workbook file will now start a new
'   instance of Excel instead of opening in this instance)
'
    Application.DisplayAlerts = No
    Application.IgnoreRemoteRequests = Yes
    Application.DisplayAlerts = Yes
'
End Sub

Note: if ever you are debugging or working in Excel and your VBA subs stop due to an error, (or you set Application.EnableEvents = No while in development phase) it is possible the ExposeExcel sub will not run on exit.  You will know the next time you Dbl-Click an .xls file and Excel comes up blank!  Simply do File--&#62;Open as described above.</description>
		<content:encoded><![CDATA[<p>All of my Excel work involves VBA so I created a module I insert in all of my workbooks.  I invoke two subs, one in Workbook_Open and the other in Workbook_BeforeClose.  One sub &#8220;isolates&#8221; Excel from opening additional workbooks (unless you explicitly use File&#8211;&gt;Open menu).  The other &#8220;exposes&#8221; it once again upon close.</p>
<p>This is accomplished by using VBA to set an Excel Application flag &#8220;IgnoreRemoteRequests&#8221; to True or False.  This flag can also be set manually in Tools&#8211;&gt;Options (General Tab)&#8211;&gt;&#8221;Ignore Other Applications&#8221;</p>
<p>&#8220;IgnoreRemoteRequests&#8221; is an APPLICATION flag which means it alters the functionality of your copy of Excel.  It is not a workbook flag and therefore is not saved with the workbook.  The state of all application flags are only saved upon exit of Excel, and the last instance closed will overwrite all flag settings of the previously closed instance.  The settings of any already open instances of Excel will not be &#8220;seen&#8221; by opening another instance.  Also, this setting will be for your installed copy of Excel only.  Sending someone one of your workbooks will not change their Excel settings (unless your workbook contains the VBA that changes the settings.) *</p>
<p>*Note: our workstations have local copies of Excel installed.  I don&#8217;t know how application settings are saved in a shared environment.</p>
<p>It can get confusing.  Say you have no copies of Excel open and the current state of Ignore=No.  You open a workbook containing the VBA subs which set Ignore=Yes.  (You can see the &#8220;Ignore&#8221; box checked in the options menu, General tab.)</p>
<p>You Dbl-click another workbook, one that does not have the VBA subs.  It will open in a new instance of Excel because the first one open is now ignoring open requests.  But, if you look in the options menu you will see the second Excel is not ignoring requests.  If you Dbl-Click a third workbook it will open in the second instance of Excel, not in a new instance and not in the first one.</p>
<p>You decide to close both Excel instances.  Whichever instance you close last will be the settings used the next time Excel opens.  This is REGARDLESS of whether or not you save any workbook changes &#8212; remember, this is an application flag not a workbook flag.</p>
<p>If you close the first instance last the Ignore flag will still be set to True.  This can be a problem.  The next time you Dbl-Click an .xls file, or attempt to open an Excel mail attachment, etc. you will only see an empty blue window.  Excel is ignoring the open request!</p>
<p>This event can be a surprise.  It appears as if Excel is &#8220;broken.&#8221;  Not to worry, simply use File&#8211;&gt;Open to open your workbook, then go to the Options menu and uncheck the &#8220;Ignore Other Applications&#8221; box.</p>
<p>To automatically prevent this situation from happening, if you turn on the &#8220;Ignore&#8221; flag upon starting Excel it is imperative that you turn it off before exit.  Here are the subs that accomplish these tasks:</p>
<p>&#8216; (put in ThisWorkbook module)</p>
<p>Private Sub Workbook_BeforeClose(Cancel As Boolean)<br />
&#8216;<br />
    ExposeExcel<br />
&#8216;<br />
End Sub</p>
<p>Private Sub Workbook_Open()<br />
&#8216;<br />
    IsolateExcel<br />
&#8216;<br />
End Sub</p>
<p>&#8216; (put these in Module1)</p>
<p>Global Const Yes As Boolean = True<br />
Global Const No As Boolean = False</p>
<p>Public Sub ExposeExcel()<br />
&#8216;<br />
&#8216;   accept remote requests (double-clicking a workbook file will now open in this<br />
&#8216;   instance of Excel instead of starting a new instance)<br />
&#8216;<br />
    Application.DisplayAlerts = No<br />
    Application.IgnoreRemoteRequests = No<br />
    Application.DisplayAlerts = Yes<br />
&#8216;<br />
End Sub</p>
<p>Public Sub IsolateExcel()<br />
&#8216;<br />
&#8216;   ignore remote requests (double-clicking a workbook file will now start a new<br />
&#8216;   instance of Excel instead of opening in this instance)<br />
&#8216;<br />
    Application.DisplayAlerts = No<br />
    Application.IgnoreRemoteRequests = Yes<br />
    Application.DisplayAlerts = Yes<br />
&#8216;<br />
End Sub</p>
<p>Note: if ever you are debugging or working in Excel and your VBA subs stop due to an error, (or you set Application.EnableEvents = No while in development phase) it is possible the ExposeExcel sub will not run on exit.  You will know the next time you Dbl-Click an .xls file and Excel comes up blank!  Simply do File&#8211;&gt;Open as described above.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Dennis</title>
		<link>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-25907</link>
		<pubDate>Wed, 09 Jan 2008 01:02:59 +0000</pubDate>
		<guid>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-25907</guid>
					<description>To answer your question, Tammyl:

Once you get the Excel files to open as separate instances (and hence on different screens) you may run into problem copying/moving worksheets between different workbooks (files) because worksheets don’t copy/move across instances.

The way to get around it is to pick an instance of Excel, use “File -&#62; Open” or drag and drop the file icon to have multiple workbooks opened in the same Excel instance. Of course you can’t put the workbooks in the same instance on different monitors (back to the original setting). So, do it only when you want to copy/move entire worksheets between files.</description>
		<content:encoded><![CDATA[<p>To answer your question, Tammyl:</p>
<p>Once you get the Excel files to open as separate instances (and hence on different screens) you may run into problem copying/moving worksheets between different workbooks (files) because worksheets don’t copy/move across instances.</p>
<p>The way to get around it is to pick an instance of Excel, use “File -&gt; Open” or drag and drop the file icon to have multiple workbooks opened in the same Excel instance. Of course you can’t put the workbooks in the same instance on different monitors (back to the original setting). So, do it only when you want to copy/move entire worksheets between files.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tammyl</title>
		<link>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-24382</link>
		<pubDate>Thu, 20 Dec 2007 02:57:54 +0000</pubDate>
		<guid>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-24382</guid>
					<description>I have changed my filetype and excel over dual monitors works well. Thanks for the info.  Only problem now is i can't use Sheet Copy/Move "To Book" as no other workbook names are displayed.  Can anybody assist with vba or other solution to be able to copy/move sheets across multiple excel instances.</description>
		<content:encoded><![CDATA[<p>I have changed my filetype and excel over dual monitors works well. Thanks for the info.  Only problem now is i can&#8217;t use Sheet Copy/Move &#8220;To Book&#8221; as no other workbook names are displayed.  Can anybody assist with vba or other solution to be able to copy/move sheets across multiple excel instances.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Gman</title>
		<link>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-21893</link>
		<pubDate>Sun, 18 Nov 2007 18:06:49 +0000</pubDate>
		<guid>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-21893</guid>
					<description>This works for Excel 2007 in compatibility mode (essentially saving docs in the old 2003 XLS format, which I prefer to do so that everyone I work with can use the docs. rather than dealing with some proprietary bs).</description>
		<content:encoded><![CDATA[<p>This works for Excel 2007 in compatibility mode (essentially saving docs in the old 2003 XLS format, which I prefer to do so that everyone I work with can use the docs. rather than dealing with some proprietary bs).
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Nathan</title>
		<link>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-20972</link>
		<pubDate>Wed, 07 Nov 2007 15:02:43 +0000</pubDate>
		<guid>http://www.drewery.net/blog/2006/08/29/utilising-dual-monitors-with-microsoft-excel-2003/#comment-20972</guid>
					<description>Thanks! You are my hero for the day.</description>
		<content:encoded><![CDATA[<p>Thanks! You are my hero for the day.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
