Hi Kathy,
Kathy wrote:
I have macro's that have been created via VB in EXCEL - I have been
asked to 'add' to the macro a method of notification - I know I can
do the below command via a
DOS prompt
net send 157.159.99.123 hi this is the message I am sending
net send 157.159.99.124 you to also need to recv a message
I would like to find a way to send a message such as those above to
'specific IPs ' on my net work with in the macro
is this possible? (I do not need to use the exact command as shown
above but I do need it sent to either the IP or a group )
You should be able to pass the net send command to the Shell function:
Public Sub NetSend(rsUsername As String, _
rsMessage As String)
Shell "net send " & rsUsername & " " & Chr$(34) _
& rsMessage & Chr$(34)
End Sub
--
Regards,
Jake Marx
MS MVP - Excel
www.longhead.com
[please keep replies in the newsgroup - email address unmonitored]