Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

access-database-training - macros

Forum home » Delegate support and help forum » Microsoft Access Training and help » access-database-training - Macros

access-database-training - Macros

ResolvedVersion Standard

Sin has attended:
Access Intermediate course
Access Advanced course
Access VBA course

Macros

I would ike to export a table in excel format and am creating a macro to do so. the problem is that I don't know how to give the user the option of choosing where to save the file to.

RE: Macros

Hi Sinead

thanks for your question. Depending on how you want your macro to work you may find the following on the Microsoft Developer website helpful.

http://msdn2.microsoft.com/en-us/library/microsoft.office.tools.excel.workbook.saveas (VS.80).aspx

Do let us know if we can be of further assistance.

Kind regards,

Andrew

Access tip:

How To Find All Overdue Accounts?

To find overdue accounts create a filter that compares today's date with the Invoice Date in the table. To do this:

1. Open the Query in Design View
2. Select the field for the filter and in the criteria row enter:

<Date()

This filter returns records where the Invoice Date is before today's date.

This filter can be manipulated if, for instance, Invoices are due 15 days after the Invoice Date. For this the filter would be:

<Date()-15

This filter returns records where the Invoice Date is 15 days before today's date.

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.