Send text to a port in VBA?

M

Milos Setek

Hi all,

I want to send a text string to some port using a socket connection from VBA
in excel. Is this possible?

Thanks for any help,
Milos
 
L

Lars-Eric Gisslén

Milos,

You can do it with WinInet API's. It takes some coding but it's doable. I do
it from Word. Calling ASP scripts, downloading files, bitmaps and so on.
It's plain HTTP/FTP programming so there's no problem. Going down to WinSock
would be a real overkill when you can most of what you mostly will need with
WinInet.
 
M

Milos Setek

Thanks for that, you would not have a simple VBA example or know where there
is one?

Regards and many thanks,
Milos.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top