Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Turning off circular reference warning

I have a worksheet that has a circular reference but I have my Interations
set to 1000 so the circular turns off. I have a macro setup so when other
users open the worksheet, it turns in interations on and sets it to max.
interations to 1000. The problem is, when I open the workbook, the
worksheet calculates before my macro for seting the interation level, and
the circular reference warning appears. IOnce I it cancel, then the
interation macro runs and there circular is taken care of. Is there anyway
to make my interation maco occur before the worksheet calculates and causes
a circular reference warning. I have end users who panic when any type of
message appears, and want to eliminate any stress in their lives.

Thanks for any help!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Turning off circular reference warning

in the workbook before close event, remove the circular references or make
the formulas text strings. In the workbook.Open event, change iterations
and restore the formulas.

--
Regards,
Tom Ogilvy

"Craig" <cschelskeatdmedotcom wrote in message
...
I have a worksheet that has a circular reference but I have my Interations
set to 1000 so the circular turns off. I have a macro setup so when other
users open the worksheet, it turns in interations on and sets it to max.
interations to 1000. The problem is, when I open the workbook, the
worksheet calculates before my macro for seting the interation level, and
the circular reference warning appears. IOnce I it cancel, then the
interation macro runs and there circular is taken care of. Is there

anyway
to make my interation maco occur before the worksheet calculates and

causes
a circular reference warning. I have end users who panic when any type of
message appears, and want to eliminate any stress in their lives.

Thanks for any help!




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Turning off circular reference warning

I not understanding what you are saying. I am sort of brain dead at this
time. Are you saying I should delete the circular reference cell?


"Tom Ogilvy" wrote in message
...
in the workbook before close event, remove the circular references or make
the formulas text strings. In the workbook.Open event, change iterations
and restore the formulas.

--
Regards,
Tom Ogilvy

"Craig" <cschelskeatdmedotcom wrote in message
...
I have a worksheet that has a circular reference but I have my

Interations
set to 1000 so the circular turns off. I have a macro setup so when

other
users open the worksheet, it turns in interations on and sets it to max.
interations to 1000. The problem is, when I open the workbook, the
worksheet calculates before my macro for seting the interation level,

and
the circular reference warning appears. IOnce I it cancel, then the
interation macro runs and there circular is taken care of. Is there

anyway
to make my interation maco occur before the worksheet calculates and

causes
a circular reference warning. I have end users who panic when any type

of
message appears, and want to eliminate any stress in their lives.

Thanks for any help!






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Turning off circular reference warning

disable the formula
Cell.Formula = "Z" & cell.Formula

enable the formula
Cell.Formula = Right(Cell.Formula,len(cell.formula)-1)

--
Regards,
Tom Ogilvy

Craig <cschelskeatdmedotcom wrote in message
...
I not understanding what you are saying. I am sort of brain dead at this
time. Are you saying I should delete the circular reference cell?


"Tom Ogilvy" wrote in message
...
in the workbook before close event, remove the circular references or

make
the formulas text strings. In the workbook.Open event, change

iterations
and restore the formulas.

--
Regards,
Tom Ogilvy

"Craig" <cschelskeatdmedotcom wrote in message
...
I have a worksheet that has a circular reference but I have my

Interations
set to 1000 so the circular turns off. I have a macro setup so when

other
users open the worksheet, it turns in interations on and sets it to

max.
interations to 1000. The problem is, when I open the workbook, the
worksheet calculates before my macro for seting the interation level,

and
the circular reference warning appears. IOnce I it cancel, then the
interation macro runs and there circular is taken care of. Is there

anyway
to make my interation maco occur before the worksheet calculates and

causes
a circular reference warning. I have end users who panic when any

type
of
message appears, and want to eliminate any stress in their lives.

Thanks for any help!








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Turning off circular reference warning

Not sure how to do this. Can anyone help?


"Tom Ogilvy" wrote in message
...
in the workbook before close event, remove the circular references or make
the formulas text strings. In the workbook.Open event, change iterations
and restore the formulas.

--
Regards,
Tom Ogilvy

"Craig" <cschelskeatdmedotcom wrote in message
...
I have a worksheet that has a circular reference but I have my

Interations
set to 1000 so the circular turns off. I have a macro setup so when

other
users open the worksheet, it turns in interations on and sets it to max.
interations to 1000. The problem is, when I open the workbook, the
worksheet calculates before my macro for seting the interation level,

and
the circular reference warning appears. IOnce I it cancel, then the
interation macro runs and there circular is taken care of. Is there

anyway
to make my interation maco occur before the worksheet calculates and

causes
a circular reference warning. I have end users who panic when any type

of
message appears, and want to eliminate any stress in their lives.

Thanks for any help!








  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Turning off circular reference warning

Craig:

The idea is to add code so that when you save or close the file, it
deactives the formula(s) in the model that is causing the iteration.
Thus, when you open the file, there is no circular reference warning
from Excel. As part of the Auto_Open sequence, which comes after
Excel calculates, you can put have code that turns the formula(s) back
on again -- after you set the Iteration back on, of course.


"Craig" <cschelskeatdmedotcom wrote in message ...
Not sure how to do this. Can anyone help?


"Tom Ogilvy" wrote in message
...
in the workbook before close event, remove the circular references or make
the formulas text strings. In the workbook.Open event, change iterations
and restore the formulas.

--
Regards,
Tom Ogilvy

"Craig" <cschelskeatdmedotcom wrote in message
...
I have a worksheet that has a circular reference but I have my

Interations
set to 1000 so the circular turns off. I have a macro setup so when

other
users open the worksheet, it turns in interations on and sets it to max.
interations to 1000. The problem is, when I open the workbook, the
worksheet calculates before my macro for seting the interation level,

and
the circular reference warning appears. IOnce I it cancel, then the
interation macro runs and there circular is taken care of. Is there

anyway
to make my interation maco occur before the worksheet calculates and

causes
a circular reference warning. I have end users who panic when any type

of
message appears, and want to eliminate any stress in their lives.

Thanks for any help!




  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Turning off circular reference warning

John-

Since I am a novice at programming, can you give me an example as to how I
would deactivate a formula using code. Thanks for your help!

"John Tjia" wrote in message
om...
Craig:

The idea is to add code so that when you save or close the file, it
deactives the formula(s) in the model that is causing the iteration.
Thus, when you open the file, there is no circular reference warning
from Excel. As part of the Auto_Open sequence, which comes after
Excel calculates, you can put have code that turns the formula(s) back
on again -- after you set the Iteration back on, of course.


"Craig" <cschelskeatdmedotcom wrote in message

...
Not sure how to do this. Can anyone help?


"Tom Ogilvy" wrote in message
...
in the workbook before close event, remove the circular references or

make
the formulas text strings. In the workbook.Open event, change

iterations
and restore the formulas.

--
Regards,
Tom Ogilvy

"Craig" <cschelskeatdmedotcom wrote in message
...
I have a worksheet that has a circular reference but I have my

Interations
set to 1000 so the circular turns off. I have a macro setup so when

other
users open the worksheet, it turns in interations on and sets it to

max.
interations to 1000. The problem is, when I open the workbook, the
worksheet calculates before my macro for seting the interation

level,
and
the circular reference warning appears. IOnce I it cancel, then the
interation macro runs and there circular is taken care of. Is there

anyway
to make my interation maco occur before the worksheet calculates and

causes
a circular reference warning. I have end users who panic when any

type
of
message appears, and want to eliminate any stress in their lives.

Thanks for any help!






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Circular Reference Warning ??? Soth Excel Worksheet Functions 2 May 26th 13 08:02 AM
Circular Reference Warning NeiLi New Users to Excel 1 July 11th 09 12:04 AM
Circular Reference Warning NeiLi New Users to Excel 1 July 8th 09 10:21 PM
Circular Reference Warning NeiLi New Users to Excel 3 July 8th 09 09:23 AM
Circular Reference Warning NeiLi New Users to Excel 0 July 7th 09 09:23 PM


All times are GMT +1. The time now is 04:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"