Hey CK ,
sure.
The problem is that at times there are no internet connection.
so is it not possible to remove the error message if there is no connection ?

Because it fails to send the sms, it stops performing other functins as well.
Currently I have made a command button which performs 4 macro functions in sequence.
Since it fails to send the sms, other functions are not carried out.

So is it not possible to simple ignore sending sms if in case there is no internet connection?

Thank you