Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

excel vba

ResolvedVersion 2010

Sarkis has attended:
Excel VBA Advanced course

Excel VBA

Hi,

Is it possible to setup a network connection using VBA in excel between 2 PCs?

The idea is to have messages flowing back and forth between the 2 PCs so information is kept up to date in real time.

Thanks,
Sarkis

RE: Excel VBA

Hi Sarkis, thanks for your query. It is possible, but difficult, and you'd almost certainly not do it in Excel VBA but simply run a messaging application outside of Excel. However, if you want to go down that route you could download a messaging control (.ocx file) and embed that on the spreadsheet. Alternatively, copy any written Excel message out to a text file on a shared folder, which is then checked and uploaded to the receivers spreadsheet every, say, five seconds, and vice versa. That would be the quickest win using standard text file write/read procedures, a timer and the Do Events statement.

Hope this helps,

Anthony

Thu 24 Nov 2011: Automatically marked as resolved.

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Concatenating Results of Formulas

To concatenate the results of formulas simply add the "&" after the formula or function closing bracket.

function1(....)&function2(.....)

see example Creating a range of monthly payments as text.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.