Solved

button to run a saved import

Posted on 2008-10-13
1
432 Views
Last Modified: 2008-10-19
Hi

I saved an excel worksheet import, now i need to run this import  clicking a button
what is the code to run this import from a button

best regards
robert
0
Comment
Question by:titorober23
1 Comment
 
LVL 10

Accepted Solution

by:
slamhound earned 250 total points
ID: 22708503
Just select the button tool from the menu and using the wizard, set it up as a Close button. Then just replace the close button code with whatever your code is. If you code is in a function or sub you can call it using:

MyFunction
or
Result = MyFunction()
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question