Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Access VBA in Excel !

Status
Not open for further replies.

leonxxvii

MIS
Aug 17, 2007
3
SE
Hello All, I am new to VBA and programming in general I’ve got an application that runs great in Access but I like to run the same code in Excel when I copy it over I get run- time error 483. It appears that the problem is with Application.echo I know echo is not available in excel, so I was wondering if any body knew what I could use instead.
Any help would be greatly appreciated.
The code is as follow:

Application.Echo True, "P**** batch - " & sRutin
 
Have a look at Application.Interactive, Application.DisplayAlerts and Application.ScreenUpdating.

Ed Metcalfe.

Please do not feed the trolls.....
 
Thank you Ed2020, Screenupdating was the 1st thing that came to my mind so, I have tried that already but unfortunately it didn’t work now I am going to try the code with Application.Interactive and Application.DisplayAlerts
 
Thanks Ed , some one sugested I use Application.DisplayStatusBar
Application.StatusBar
and it worked like a charm.
I really appriciate your effort, thanks a bunch.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top