Access Macro

AndrewKent

Well-known Member
Joined
Jul 26, 2006
Messages
889
Hi there,

I've never actually written a macro for Access before so here goes!

All I want to do is write a procedure that (once attached to a button that I'll place in the toolbar within my database)

Will export a query (with formatting) to Excel. Saving in the same location with the same file type/name every time.

Can anyone give me a starter for ten?

Andy
 

Some videos you may like

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
54,511
Office Version
  1. 365
Platform
  1. Windows
Choose the TransferSpreadsheet command from Macros. The built-in help there should explain what each argument is. It is pretty straighforward, and you do not need to know anything about coding or VBA.
 

Watch MrExcel Video

Forum statistics

Threads
1,109,465
Messages
5,528,962
Members
409,848
Latest member
Blomsten
Top