ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Run a program (https://www.excelbanter.com/excel-programming/418700-run-program.html)

Johan

Run a program
 
Hi I am new user of this.

How do I run a program, and if it is give an error message I should be
pressed Enter.

Can someone give me this code an explain how to run it?

thanks!!!

ShaneDevenshire

Run a program
 
Hi,

This looks like your other post:

On Error GoTo ErrorHandler1
....
"your code
....

Exit Sub
ErrorHandler1:
' do something here
End Sub

Or you can use
On Error Resume Next
which just ignores most errors and lets the code continue without displaying
an error message.

Again, it would be nice to see the code that is triggering and error.

If any of this is helpful, please click the Yes button.


--
Thanks,
Shane Devenshire


"Johan" wrote:

Hi I am new user of this.

How do I run a program, and if it is give an error message I should be
pressed Enter.

Can someone give me this code an explain how to run it?

thanks!!!



All times are GMT +1. The time now is 12:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com