Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Macro for popup window " update values"

hello, I'll explain my problem:
In a workbook for daily reports each day a new worksheet is made. For day 1
the sheet is named " 1", for day 2 "2" etc.
Now I add a worksheet which I call "calculation". In this worksheet I have a
series of columns which have formulas that calculate data. Standard there are
formulas for 50 days( formulas like " sumif('1'!F15=......)
Now the problem starts when there are 10 worksheets( 10 days) and the
calculation sheet is prepared to calculate for 50 days.
When I run the calculation and excel gets to the formulas for day 11 a popup
screen " update values:11" appears, then I have to press "cancel" in this
popupscreen as many times that takes to get through until day 50.
I would like to have a macro code which automatically selects " cancel" when
the popupwindow appears.
Can anyone help me?

thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Macro for popup window " update values"

Change you approach.

Rather than add a worksheet every day, begin with 50 empty data sheets and
populate the appropriate one on a daily basis. You may have problems with
functions like AVERAGE(), but you can craft formulas to ignore missing data
if the missing data invalidates your results.


--
Gary''s Student - gsnu200787


"Chris D" wrote:

hello, I'll explain my problem:
In a workbook for daily reports each day a new worksheet is made. For day 1
the sheet is named " 1", for day 2 "2" etc.
Now I add a worksheet which I call "calculation". In this worksheet I have a
series of columns which have formulas that calculate data. Standard there are
formulas for 50 days( formulas like " sumif('1'!F15=......)
Now the problem starts when there are 10 worksheets( 10 days) and the
calculation sheet is prepared to calculate for 50 days.
When I run the calculation and excel gets to the formulas for day 11 a popup
screen " update values:11" appears, then I have to press "cancel" in this
popupscreen as many times that takes to get through until day 50.
I would like to have a macro code which automatically selects " cancel" when
the popupwindow appears.
Can anyone help me?

thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Macro for popup window " update values"

Thanks for your reply.
I have also made a workbook as you stated in your reply. Problem is that the
guys in the field won't change their method, so if I want some useful data
out of the reports I have to stick with the existing system.
Only thing I need to know is how can I have a macro( which is linked to a
button that starts the calculation) automatically select "cancel" if the
popup window " update values" appear.
Any thoughts are welcome.

thanks.

Chris

"Gary''s Student" wrote:

Change you approach.

Rather than add a worksheet every day, begin with 50 empty data sheets and
populate the appropriate one on a daily basis. You may have problems with
functions like AVERAGE(), but you can craft formulas to ignore missing data
if the missing data invalidates your results.


--
Gary''s Student - gsnu200787


"Chris D" wrote:

hello, I'll explain my problem:
In a workbook for daily reports each day a new worksheet is made. For day 1
the sheet is named " 1", for day 2 "2" etc.
Now I add a worksheet which I call "calculation". In this worksheet I have a
series of columns which have formulas that calculate data. Standard there are
formulas for 50 days( formulas like " sumif('1'!F15=......)
Now the problem starts when there are 10 worksheets( 10 days) and the
calculation sheet is prepared to calculate for 50 days.
When I run the calculation and excel gets to the formulas for day 11 a popup
screen " update values:11" appears, then I have to press "cancel" in this
popupscreen as many times that takes to get through until day 50.
I would like to have a macro code which automatically selects " cancel" when
the popupwindow appears.
Can anyone help me?

thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Macro for popup window " update values"

I can duplicate your behavior, but I don't know how to fix it. I can't trap
the pop-up.

Once the pop-up appears, macros are locked out on my system.

Sorry
--
Gary''s Student - gsnu200787


"Chris D" wrote:

Thanks for your reply.
I have also made a workbook as you stated in your reply. Problem is that the
guys in the field won't change their method, so if I want some useful data
out of the reports I have to stick with the existing system.
Only thing I need to know is how can I have a macro( which is linked to a
button that starts the calculation) automatically select "cancel" if the
popup window " update values" appear.
Any thoughts are welcome.

thanks.

Chris

"Gary''s Student" wrote:

Change you approach.

Rather than add a worksheet every day, begin with 50 empty data sheets and
populate the appropriate one on a daily basis. You may have problems with
functions like AVERAGE(), but you can craft formulas to ignore missing data
if the missing data invalidates your results.


--
Gary''s Student - gsnu200787


"Chris D" wrote:

hello, I'll explain my problem:
In a workbook for daily reports each day a new worksheet is made. For day 1
the sheet is named " 1", for day 2 "2" etc.
Now I add a worksheet which I call "calculation". In this worksheet I have a
series of columns which have formulas that calculate data. Standard there are
formulas for 50 days( formulas like " sumif('1'!F15=......)
Now the problem starts when there are 10 worksheets( 10 days) and the
calculation sheet is prepared to calculate for 50 days.
When I run the calculation and excel gets to the formulas for day 11 a popup
screen " update values:11" appears, then I have to press "cancel" in this
popupscreen as many times that takes to get through until day 50.
I would like to have a macro code which automatically selects " cancel" when
the popupwindow appears.
Can anyone help me?

thanks

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Macro for popup window " update values"

Gary,

OK thanks. Anyway I need to proceed with document that has 50 worksheets.
Suppose when I start with 1 sheet visible, 49 hided and I want a macro to
select a hidden sheet to be unhided. Do you have a macro for that?

regards,

Chris

"Gary''s Student" wrote:

I can duplicate your behavior, but I don't know how to fix it. I can't trap
the pop-up.

Once the pop-up appears, macros are locked out on my system.

Sorry
--
Gary''s Student - gsnu200787


"Chris D" wrote:

Thanks for your reply.
I have also made a workbook as you stated in your reply. Problem is that the
guys in the field won't change their method, so if I want some useful data
out of the reports I have to stick with the existing system.
Only thing I need to know is how can I have a macro( which is linked to a
button that starts the calculation) automatically select "cancel" if the
popup window " update values" appear.
Any thoughts are welcome.

thanks.

Chris

"Gary''s Student" wrote:

Change you approach.

Rather than add a worksheet every day, begin with 50 empty data sheets and
populate the appropriate one on a daily basis. You may have problems with
functions like AVERAGE(), but you can craft formulas to ignore missing data
if the missing data invalidates your results.


--
Gary''s Student - gsnu200787


"Chris D" wrote:

hello, I'll explain my problem:
In a workbook for daily reports each day a new worksheet is made. For day 1
the sheet is named " 1", for day 2 "2" etc.
Now I add a worksheet which I call "calculation". In this worksheet I have a
series of columns which have formulas that calculate data. Standard there are
formulas for 50 days( formulas like " sumif('1'!F15=......)
Now the problem starts when there are 10 worksheets( 10 days) and the
calculation sheet is prepared to calculate for 50 days.
When I run the calculation and excel gets to the formulas for day 11 a popup
screen " update values:11" appears, then I have to press "cancel" in this
popupscreen as many times that takes to get through until day 50.
I would like to have a macro code which automatically selects " cancel" when
the popupwindow appears.
Can anyone help me?

thanks

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
Open "Insert Hyperlink" popup window with VBA? Sam Kuo[_3_] Excel Programming 3 January 17th 08 04:44 AM
Read ".dll" files, the Macro "work flow" and the actual values of the variables when Macro is running [email protected] Excel Programming 5 May 16th 07 08:18 PM
How to disable annoying "Enable Macro" popup Eric Excel Programming 2 November 28th 05 04:59 PM
VBA command to say "yes"/"no" to popup window Manuel Excel Programming 7 August 5th 04 10:20 AM
disable the popup messege "this file contain macro" bris Excel Programming 5 March 3rd 04 07:13 PM


All times are GMT +1. The time now is 03:24 PM.

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

About Us

"It's about Microsoft Excel"