A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi Phillip,
Thank try to help me
Regards
Hugues
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
In Excel MAC 2016 (Office 365) with VBA i want to know how to testing internet connexion.
There are methods under windows using wininet.dll but of course not compatible MAC.
Can you help me ?
Regards
Hugues
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hi Phillip,
Thank try to help me
Regards
Hugues
Hi Hugues,
There are a couple different approaches you could take. It depends on your skill level and what programming languages you know.
The connection is controlled by Mac OS. You can program both Mac OS and Excel using Objective-C. See this link for information about the connection in Objective-C
A less elegant way to handle this if you don't want to use Objective-C is to try the query and if it fails, handle it in your code.
You have to wait for a VBA Expert to come by. Sorry I could not help.
__________
Disclaimer:
The questions, discussions, opinions, replies & answers I create, are solely mine and mine alone and do not reflect upon my position as a Volunteer Moderator.
Hi Philip,
Thank's for your answer
But i need to use a test in Excel with VBA (To Stop a Query if there is no internet connexion)
Regards
Hugues
I have no idea how to to do VBA. If you want to test whether the Internet (WiFi) is working and how well I have directions below.
If using Wi-FI click on the wifi symbol in the main Finder menu click on the WIFi symbols
Option-click on the symbol, a menu will pop up
__________
Disclaimer:
The questions, discussions, opinions, replies & answers I create, are solely mine and mine alone and do not reflect upon my position as a Volunteer Moderator.