Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Pivot Table Refresh

When extracting data from an external source, the following message
appears when the spreadsheet opens:

"Microsoft Excel cannot refresh a Pivot Table until refresh of the
external data range on which the Pivot Table is based is complete."

Hitting the "OK" gets past the warning and the spreadsheet functions
normally. Is there any way to suppress the warning so the user does not
need to hit the "OK"?

Thanks for your help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Pivot Table Refresh

try Application.DisplayAlerts = False

-----Original Message-----
When extracting data from an external source, the

following message
appears when the spreadsheet opens:

"Microsoft Excel cannot refresh a Pivot Table until

refresh of the
external data range on which the Pivot Table is based is

complete."

Hitting the "OK" gets past the warning and the

spreadsheet functions
normally. Is there any way to suppress the warning so

the user does not
need to hit the "OK"?

Thanks for your help.
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Pivot Table Refresh

Thanks for the suggestion but the message still appears on Open. Maybe I'm
not associating the Application.DisplayAlerts at the right place. I
associated it with the workbook Open. Is that the right association?

Thanks.
wrote in message
...
try Application.DisplayAlerts = False

-----Original Message-----
When extracting data from an external source, the

following message
appears when the spreadsheet opens:

"Microsoft Excel cannot refresh a Pivot Table until

refresh of the
external data range on which the Pivot Table is based is

complete."

Hitting the "OK" gets past the warning and the

spreadsheet functions
normally. Is there any way to suppress the warning so

the user does not
need to hit the "OK"?

Thanks for your help.
.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Pivot Table Refresh

I replied to this yesterday don't no longer see my reply - apologies if this
is duplicated.

Thanks for the suggestion below. I tried it but the same message appears.
I associated it with the Workbook Open. Was that the correct association?

Thanks

Bill
wrote in message
...
try Application.DisplayAlerts = False

-----Original Message-----
When extracting data from an external source, the

following message
appears when the spreadsheet opens:

"Microsoft Excel cannot refresh a Pivot Table until

refresh of the
external data range on which the Pivot Table is based is

complete."

Hitting the "OK" gets past the warning and the

spreadsheet functions
normally. Is there any way to suppress the warning so

the user does not
need to hit the "OK"?

Thanks for your help.
.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Pivot Table Refresh

Thanks for the suggestion. I tried it and had the same message presented.
I put the Application.DisplayAlerts=False on Workbook Open. If there is
another association I should be using......

Thanks

Bill
wrote in message
...
try Application.DisplayAlerts = False

-----Original Message-----
When extracting data from an external source, the

following message
appears when the spreadsheet opens:

"Microsoft Excel cannot refresh a Pivot Table until

refresh of the
external data range on which the Pivot Table is based is

complete."

Hitting the "OK" gets past the warning and the

spreadsheet functions
normally. Is there any way to suppress the warning so

the user does not
need to hit the "OK"?

Thanks for your help.
.





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Pivot Table Refresh

I use this for my report automations:

Private Sub Workbook_Open()
Application.DisplayAlerts = False
Sheets("SheetNameGoesHere").Select 'When refreshing the workbook a
worksheet, NOT A CHART, needs to be active (dunno why?)
ActiveWorkbook.RefreshAll
Application.DisplayAlerts = True
End If
End Sub

Make sure you are NOT on a Chart sheet when you execute the RefreshAll. When
this is executed ALL data sources will update (refresh).
--
Toby Erkson
Oregon, USA
Excel 2002 in Windows XP

"Bill G" wrote in message
news:Keu1d.189663$mD.106356@attbi_s02...
When extracting data from an external source, the following message
appears when the spreadsheet opens:

"Microsoft Excel cannot refresh a Pivot Table until refresh of the
external data range on which the Pivot Table is based is complete."

Hitting the "OK" gets past the warning and the spreadsheet functions
normally. Is there any way to suppress the warning so the user does not
need to hit the "OK"?

Thanks for your help.



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Pivot Table Refresh

Toby,

I tried your suggestion and it worked perfectly - thanks. Just removed
the End If statement :). Thanks again.

Bill

Toby Erkson wrote:
I use this for my report automations:

Private Sub Workbook_Open()
Application.DisplayAlerts = False
Sheets("SheetNameGoesHere").Select 'When refreshing the workbook a
worksheet, NOT A CHART, needs to be active (dunno why?)
ActiveWorkbook.RefreshAll
Application.DisplayAlerts = True
End If
End Sub

Make sure you are NOT on a Chart sheet when you execute the RefreshAll. When
this is executed ALL data sources will update (refresh).

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Pivot Table Refresh

Toby,

I tried your suggestion and it worked perfectly - thanks. Just removed
the End If statement :). Thanks again.

Bill

Toby Erkson wrote:

I use this for my report automations:

Private Sub Workbook_Open()
Application.DisplayAlerts = False
Sheets("SheetNameGoesHere").Select 'When refreshing the workbook a
worksheet, NOT A CHART, needs to be active (dunno why?)
ActiveWorkbook.RefreshAll
Application.DisplayAlerts = True
End If
End Sub

Make sure you are NOT on a Chart sheet when you execute the RefreshAll. When
this is executed ALL data sources will update (refresh).

  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Pivot Table Refresh

Toby,

I tried your suggestion and it worked perfectly - thanks. Just removed
the End If statement :). Thanks again.

Bill

Toby Erkson wrote:

I use this for my report automations:

Private Sub Workbook_Open()
Application.DisplayAlerts = False
Sheets("SheetNameGoesHere").Select 'When refreshing the workbook a
worksheet, NOT A CHART, needs to be active (dunno why?)
ActiveWorkbook.RefreshAll
Application.DisplayAlerts = True
End If
End Sub

Make sure you are NOT on a Chart sheet when you execute the RefreshAll. When
this is executed ALL data sources will update (refresh).

  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Pivot Table Refresh

Toby,

I tried your suggestion and it worked perfectly - thanks. Just removed
the End If statement :). Thanks again.

Bill

Toby Erkson wrote:

I use this for my report automations:

Private Sub Workbook_Open()
Application.DisplayAlerts = False
Sheets("SheetNameGoesHere").Select 'When refreshing the workbook a
worksheet, NOT A CHART, needs to be active (dunno why?)
ActiveWorkbook.RefreshAll
Application.DisplayAlerts = True
End If
End Sub

Make sure you are NOT on a Chart sheet when you execute the RefreshAll. When
this is executed ALL data sources will update (refresh).



  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Pivot Table Refresh

Toby,

I tried your suggestion and it worked perfectly - thanks. Just removed
the End If statement :). Thanks again.

Bill


Toby Erkson wrote:
I use this for my report automations:

Private Sub Workbook_Open()
Application.DisplayAlerts = False
Sheets("SheetNameGoesHere").Select 'When refreshing the workbook a
worksheet, NOT A CHART, needs to be active (dunno why?)
ActiveWorkbook.RefreshAll
Application.DisplayAlerts = True
End If
End Sub

Make sure you are NOT on a Chart sheet when you execute the RefreshAll. When
this is executed ALL data sources will update (refresh).

  #12   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Pivot Table Refresh

Toby,

I tried your suggestion and it worked perfectly - thanks, i.e after I
removed the End If :). Thanks again.

Bill

Toby Erkson wrote:
I use this for my report automations:

Private Sub Workbook_Open()
Application.DisplayAlerts = False
Sheets("SheetNameGoesHere").Select 'When refreshing the workbook a
worksheet, NOT A CHART, needs to be active (dunno why?)
ActiveWorkbook.RefreshAll
Application.DisplayAlerts = True
End If
End Sub

Make sure you are NOT on a Chart sheet when you execute the RefreshAll. When
this is executed ALL data sources will update (refresh).

  #13   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Pivot Table Refresh

Toby,

I tried your suggestion and it worked perfectly - thanks, i.e after I
removed the End If :). Thanks again.

Bill

Toby Erkson wrote:

I use this for my report automations:

Private Sub Workbook_Open()
Application.DisplayAlerts = False
Sheets("SheetNameGoesHere").Select 'When refreshing the workbook a
worksheet, NOT A CHART, needs to be active (dunno why?)
ActiveWorkbook.RefreshAll
Application.DisplayAlerts = True
End If
End Sub

Make sure you are NOT on a Chart sheet when you execute the RefreshAll. When
this is executed ALL data sources will update (refresh).

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
slow document / pivot table refresh and pivot function Justin Larson[_2_] Excel Discussion (Misc queries) 1 April 2nd 09 06:41 PM
Pivot Table Refresh JMay Excel Discussion (Misc queries) 1 January 25th 09 09:38 PM
Create refresh button in worksheet to refresh Pivot Table Data Ron Excel Worksheet Functions 1 October 13th 07 01:20 AM
refresh a new worsheet on pivot table refresh [email protected] Excel Worksheet Functions 0 February 9th 07 07:39 PM
Pivot Table REFRESH Flaw -- Saves Old Data in Selection Area AFTER REFRESH Ken Roberts Excel Programming 3 September 11th 03 06:02 AM


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