View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Michael Rhein Michael Rhein is offline
external usenet poster
 
Posts: 4
Default Net Send command trough VBA

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