VBA to automatically export query to folder every day

laurenh345

New Member
Joined
Mar 13, 2020
Messages
19
Office Version
  1. 2007
Platform
  1. Windows
Hi everyone!

I am new to VBA and I was wondering if there was a VBA that could export a set query everyday to an external folder. This is because I run reports everyday based on the export I get from excel. I would be so grateful for any guidance or help with this. Thanks in advance!

Access database name: AllScripts PM1
Query name: RVU Report
External folder name: P:\WRVU
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Take a look at some of the options mentioned here.
I have used the last option myself.
 
Upvote 0
That was very helpful, I was able to base it off of that. Thank you so muhc!
 
Upvote 0
You are welcome!
Glad it worked out for you.
 
Upvote 0

Forum statistics

Threads
1,213,489
Messages
6,113,952
Members
448,535
Latest member
alrossman

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