excel vba

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

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Excel VBA

Excel VBA

resolvedResolved · Low Priority · Version 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:

Brighten up your Excel 2010 Spreadsheet by changing the colours of the gridlines

Excel 2010 allows you to change the colour of grid lines instead of keeping them in boring black.

Select the File tab on the Ribbon, click Options, click Advanced, scroll down to ''Display options for this worksheet.'' Next to ''Gridline colour,'' choose your favourite colour, then once you've done this, click OK. Easy!

View all Excel hints and tips


Server loaded in 0.08 secs.