?
Solved

How to determine if a Excel Spreadsheet references external datasources.

Posted on 2013-05-16
3
Medium Priority
?
311 Views
Last Modified: 2013-05-19
Heyas,

Can anyone point me in the right direction as to how in VBA terms I could determine if a cell in an Excel spreadsheet was getting it's data from an external datasource Website, DB other workbook etc.  Also if it's possible is there a way to determining what the external datasource was, this may be stretching the limits of vba I think though.
Any help would be much apperciated.

Thank you.
0
Comment
Question by:Zack
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
[ fanpages ] earned 2000 total points
ID: 39170979
Hi,

With a Visual Basic for Applications routine you could iterate through the list of LinkSources for the respective worksheet where the cell resides looking for matches for the cell address.

You could also use the Visual Basic for Applications Find syntax to search for cells with a Formula containing either a "[" or "]" (left & right brace).

Some further discussion here:

"How to find and list all links (external references) in Excel?"
[ http://www.extendoffice.com/documents/excel/953-excel-list-all-links.html ]

BFN,

fp.
0
 

Author Closing Comment

by:Zack
ID: 39179733
Cheers for the info.
0
 
LVL 35

Expert Comment

by:[ fanpages ]
ID: 39179763
You're very welcome.

Thanks for closing the question.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question