View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
joel joel is offline
external usenet poster
 
Posts: 9,101
Default Send network message

I think you are using machinename as a variable. Try this

Shell "NET SEND" & machinename & "Good Evening"

Shell expect a string. The string can be a catenation of other strings like
the example above.


"Steven" wrote:

Shell "NET SEND machinename 'Good Evening'"

I think I have my machine name correct.

I tried this using my machine name and did not get a response back.

What am I doing wrong?

Thank you,

Steven