View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Vasant Nanavati Vasant Nanavati is offline
external usenet poster
 
Posts: 1,080
Default Net Send command trough VBA

Perhaps this thread will be useful:

http://google.com/groups?threadm=%23...GP11.p hx.gbl


--

Vasant

"Michael Rhein" wrote in message
om...
Guys,

I'm trying to execute Net Send command trough Excel VBA, and need your
help on my code below :

Sub Button2_Click()
Dim PCName$, Message$
PCName$ = Range("D2").Value
Message$ = Range("D4").Value

Shell "Net Send " & PCName$ & Message
End Sub

Thanks in advance guys.

rgds
MR