Macro to update data

C

Cam

Hello,

I have an Excel file with the following sheets:
Data (import from Access)
Pivot (pivot from Data sheet)
Pivot_Chart (chart from a pivot sheet)

I would like to create a button with a macro that will refresh (update) all
the sheets. Also, is there a way to program it so that once the file is open
it will pop up this button to ask users to click to update data or update it
automatically once the file is open. Any help is appreciated. Thanks
 
D

Dave Peterson

Try recording a macro when you do the updates manually.

Then name that macro: Auto_Open

You can also plop a button from the Forms toolbar on any old sheet and then
assign the Auto_Open macro to the button.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top