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 Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Make iteration default for a specific file



 
 
Thread Tools Display Modes
  #1  
Old May 28th, 2010, 09:05 AM posted to microsoft.public.excel.misc
bnmohan via OfficeKB.com
external usenet poster
 
Posts: 14
Default Make iteration default for a specific file

Hi!

I have an excel file that needs iteration. However, it appears the setting
saved with the file is sort of global: If it is opened with a fresh instance
of Excel, the Iteration flag is set on; but if it is opened through an
already running instance of Excel with the Iteration flag off as default, the
iteration flag remains off: and I get a Circular Reference error.

Is there a way I can make the iteration flag on for a specific file? ie if
one instance of Excel opens many files including this one: the iteration flag
is on for this file, and the default excel setting applies to other files?

Is there a way to atleast force the iteration flag on while opening the file,
and set it back to default while closing? (Though this could cause
unpredictable results if the user interferes, or is unaware of the situation)

I am unable to program the loop to remove the need for iteration: as the loop
function is a step function

Mohan

--
Message posted via http://www.officekb.com

  #2  
Old May 28th, 2010, 12:24 PM posted to microsoft.public.excel.misc
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Make iteration default for a specific file

Record a macro when you change this calculation setting.

Name it Auto_Open

When you open this workbook (and allow macros to run), excel will change
calculation mode. The workbook will open in whatever mode is currently set, but
will change as soon as the code runs.

If you need to have the workbook open in manual calculation, you could create a
dummy workbook that changes the calculation mode and then opens your real
workbook. Then closes itself.

And always use this dummy workbook to open your real workbook.

"bnmohan via OfficeKB.com" wrote:

Hi!

I have an excel file that needs iteration. However, it appears the setting
saved with the file is sort of global: If it is opened with a fresh instance
of Excel, the Iteration flag is set on; but if it is opened through an
already running instance of Excel with the Iteration flag off as default, the
iteration flag remains off: and I get a Circular Reference error.

Is there a way I can make the iteration flag on for a specific file? ie if
one instance of Excel opens many files including this one: the iteration flag
is on for this file, and the default excel setting applies to other files?

Is there a way to atleast force the iteration flag on while opening the file,
and set it back to default while closing? (Though this could cause
unpredictable results if the user interferes, or is unaware of the situation)

I am unable to program the loop to remove the need for iteration: as the loop
function is a step function

Mohan

--
Message posted via http://www.officekb.com


--

Dave Peterson
 




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


All times are GMT +1. The time now is 03:44 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.