Solved

Success Message at end of VBA

Posted on 2011-09-08
3
260 Views
Last Modified: 2012-05-12
I currently have a button in a form in Access that allows me to import a series fo excell sheets into the database.

I would simply like to add a message at the end of the VBA code stating " Files Imported Successfully"

Is there a simple way to do this?

Thank you

0
Comment
Question by:jtr209
3 Comments
 
LVL 4

Accepted Solution

by:
AgeOfEmpires earned 500 total points
ID: 36505032
MsgBox "Files Imported Successfully"

Of course, this simple statement ignores any error checking of the actual import process, but this statement will display your message
0
 
LVL 75
ID: 36505044


You mean with a Message box ?

' you import code .....

Msgbox " Files Imported Successfully"


what code do you have now
mx
0
 
LVL 4

Expert Comment

by:grogman
ID: 36506387
If you would like a message that can dismiss itself after a specified period of time without requiring the users to click anything, you could try this:

http://blogs.technet.com/b/heyscriptingguy/archive/2005/03/14/how-can-i-automatically-dismiss-a-message-box-after-a-specified-length-of-time.aspx
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now