+ Reply to Thread
Results 1 to 13 of 13

Data Range - How to determine what the source is

  1. #1
    Registered User
    Join Date
    07-03-2008
    Location
    London
    Posts
    23

    Data Range - How to determine what the source is

    Hi All

    I have been given an Excel 2003 spreadsheet to support, which has a data range added to it.

    How can I check what the data source is? Can I access the properties through VBA?

  2. #2
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Data Range - How to determine what the source is

    This is a loaded question -
    Do you not have access to the original author?
    Is the book full of formulas or Macros?
    Is there not a clear instruction on how to update said book?

    If you could, upload a copy and someone here should be able to tell you if you can identify sources or not
    -If you think you are done, Start over - ELeGault

  3. #3
    Registered User
    Join Date
    07-03-2008
    Location
    London
    Posts
    23

    Re: Data Range - How to determine what the source is

    The original creator is no longer with the company..

    The workbook does not contain VBA that connects to a data source, and no there is no clear instruction of how to update it.

    When right clicking on the data range the 'Data Range Properties' etc become available.. Its a normal data range..

    I'm sure i've managed to access the properties of a data range before (many years ago) but I cannot remember how to do it.

    We have recently moved to Citrix and MS Query has not been packaged. I'm sure this is only used to build the query, and then the query is hard coded in to the data properties.

  4. #4
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Data Range - How to determine what the source is

    Right so if it is a data connection feed. then click inside the table,
    Go to the data tab at the top.
    Click on Properties
    Once on that screen it will show 'Connection' NAME.
    To the right of that connection name will be an icon, click on it.

    If that is not available (Greyed out) click on connections just above it to see if there are active connections still in the book. From there click on the properties. and you will be on the same referenced location as above...

    In here you can go over and view the definition which will house that query you speak of.
    Let me know if you still have issues after that, but I think this is what you needed to know to get there.

    Data>Connections>Properties>Definition tab of the connection properties>
    Or straight to the properties
    Click in the tab
    Data>Properties>ICON to the Right of Name>Definition tab of the connection properties>

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Data Range - How to determine what the source is

    Are there formulae within the data range? If there are click on a cell with a formula in it then click on the Formula tab and click on Trace Precedents. An arrow should be created and possibly with a rectangle at the end. If there isn't a rectangle at the end follow the arrow to its end and that will be the source for that cell. If there is a rectangle at the end of the arrow, click on the arrow and you should be given a dialogue box with at least one reference that looks similar to this [Book1]Sheet2!$F$6 . Select the reference and click OK and you will be taken to the source.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Data Range - How to determine what the source is

    I was thinking the same thing at first but then he mentions that they are on Citrix and that he believes there is a hard coded Query, so I suspect that the answer is to look at the data connection properties. Here you would find the query "Hardcoded" to that workbook.

  7. #7
    Registered User
    Join Date
    07-03-2008
    Location
    London
    Posts
    23

    Re: Data Range - How to determine what the source is

    Quote Originally Posted by ELeGault View Post
    I was thinking the same thing at first but then he mentions that they are on Citrix and that he believes there is a hard coded Query, so I suspect that the answer is to look at the data connection properties. Here you would find the query "Hardcoded" to that workbook.
    Is this how MS Query works? I dont think the workbook looks for the MS Query SQL file each time you refresh the data range.. Doesn't it get cached?

    How can I get to the data connection properties of the data range?

    There are no formulas in the range btw..

  8. #8
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Data Range - How to determine what the source is

    Look at my first post. Its on the Data tab up top. Look in there you should find the Query

    Right so if it is a data connection feed. then click inside the table,
    Go to the data tab at the top.
    Click on Properties
    Once on that screen it will show 'Connection' NAME.
    To the right of that connection name will be an icon, click on it.

    If that is not available (Greyed out) click on connections just above it to see if there are active connections still in the book. From there click on the properties. and you will be on the same referenced location as above...

    In here you can go over and view the definition which will house that query you speak of.
    Let me know if you still have issues after that, but I think this is what you needed to know to get there.

    Data>Connections>Properties>Definition tab of the connection properties>
    Or straight to the properties
    Click in the tab
    Data>Properties>ICON to the Right of Name>Definition tab of the connection properties>

  9. #9
    Registered User
    Join Date
    07-03-2008
    Location
    London
    Posts
    23

    Re: Data Range - How to determine what the source is

    Quote Originally Posted by ELeGault View Post
    Look at my first post. Its on the Data tab up top. Look in there you should find the Query
    Hi, sorry I didn't actually see this post yesterday..

    I've checked and I do not have 'Properties' on the data tab.

    From the data tab I have...
    1. Data>Import External Data>Edit Query
    2. Data>Import External Data>Data Range Properties

    Edit Query fails as MS Query is not installed?
    Data Range Properties does not give me access to any of the connection properties..

    Is there any way I can access the information from VBA ?

  10. #10
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Data Range - How to determine what the source is

    On the Data tab, click the Connections button and then check the properties of any connections listed there.
    Remember what the dormouse said
    Feed your head

  11. #11
    Registered User
    Join Date
    07-03-2008
    Location
    London
    Posts
    23

    Re: Data Range - How to determine what the source is

    Quote Originally Posted by romperstomper View Post
    On the Data tab, click the Connections button and then check the properties of any connections listed there.
    Hi, I guess it was not obvious in my opening post that I am running Excel 2003.

    I have managed to get access to a machine with Excel 2007 and I can now see the connection properties. Thanks.

    How can I get to these connection properties when using my Excel 2003 machine ?

  12. #12
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Data Range - How to determine what the source is

    You'd need code to see the connection properties:
    Please Login or Register  to view this content.
    for example.

  13. #13
    Registered User
    Join Date
    07-03-2008
    Location
    London
    Posts
    23

    Re: Data Range - How to determine what the source is

    Quote Originally Posted by romperstomper View Post
    You'd need code to see the connection properties:
    Please Login or Register  to view this content.
    for example.
    Thanks.. That is what I was looking for.. instantly recognised that...

    Cheers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using a value from a range to determine chart source data
    By lillilil in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-14-2014, 10:30 AM
  2. [SOLVED] Cannot determine source of #DIV/0! Error
    By [email protected] in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-30-2014, 10:03 AM
  3. Need help in using a formula using a data range to determine a final value
    By Lalli187 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-23-2013, 07:17 AM
  4. Programmatically determine Chart's data source
    By drussell in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-04-2006, 01:30 AM
  5. Replies: 0
    Last Post: 03-05-2005, 06:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1