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
Solved

How to determine if a Excel Spreadsheet references external datasources.

Posted on 2013-05-16
3
289 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
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
[ fanpages ] earned 500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

856 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