Need help with MS template Personal Expense Calculator about refresh issue

jimmmi

Board Regular
Joined
Jun 28, 2014
Messages
86
I am using the template from MS the Personal Expense Calculator, i like it with these categories and subcategories but i have an issue with the refresh.
First of all the dashboard isn't refreshing automatically when i click on the sheet and i have to refresh it manual, and second when i click refresh all from data tab.
First i want to find a way to autorefreshing the dashboard after inserting expenses and click the dashboard sheet,
and second to avoid clicking yes or no all the time. Just the graph to work flawlessly.
I hope some expert in excel give me some help.
Thank you in advance.
PS I attached a photo with the disturbing message getting all the time

question.jpg
 
Last edited:

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
disturbing message getting all the time

This response might be a little confusing for other readers as it relates to the original post that got deleted - but did you get that message when you first started using the template i.e. before you attempted to add code to do the automatic refresh?
 
Upvote 0
This response might be a little confusing for other readers as it relates to the original post that got deleted - but did you get that message when you first started using the template i.e. before you attempted to add code to do the automatic refresh?

I am getting this message before and after the macro.
Same result asking yes or no and keep pressing yes.
Can i add a macro to just ignore it or auto press yes?
 
Upvote 0
The chart takes the data from the hidden sheet which has the pivot.
The only problem is that the pivot sheet doesn't refresh automatically it's data when i change sheet
 
Upvote 0
Not tested (I don't have the template) - but you could try these additions to the code.

Rich (BB code):
Private Sub Worksheet_Activate()
Application.DisplayAlerts = False
ThisWorkbook.RefreshAll
Application.DisplayAlerts = True
End Sub
 
Upvote 0
Not tested (I don't have the template) - but you could try these additions to the code.

Rich (BB code):
Private Sub Worksheet_Activate()
Application.DisplayAlerts = False
ThisWorkbook.RefreshAll
Application.DisplayAlerts = True
End Sub

Thank you this did the job as i wanted.
Thank you very much
 
Upvote 0
I have one more issue.
The graph shows blank where it's useless.
Can i hide this somehow?
BLANK_ERROR.jpg
 
Upvote 0

Forum statistics

Threads
1,214,570
Messages
6,120,296
Members
448,954
Latest member
EmmeEnne1979

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top