+ Reply to Thread
Results 1 to 2 of 2

Cell Reference Inside DDE Link

  1. #1
    Registered User
    Join Date
    08-21-2009
    Location
    London,Ontario
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question Cell Reference Inside DDE Link

    Hello all,

    In a nutshell what i'm trying to do is have a dde link to a cell in another workbook. That's the easy part. Next I want to be able to change the value in a cell of my "master" workbook and have the dde link update to look for that path. Example:

    -The target cell is in MRC.xls-->Sheet1-->Cell D45
    -There are multiple copies of this "MRC" spreadsheet in different directories on my server.
    -So...I basically want to do this:

    =indirect(concatenate("\\Server\",B32,"\[MRC.xls]Sheet1!$D$45))

    where cell B32 contains the directory which I want to change (variable).

    I've tried splitting the concatenate and indirects up into two different cells which didn't work either.
    Also please note I've tried a bunch of other syntaxes and functions to do this but indirect seems to be the cleanest to represent in a question form here.
    I wish i could remember more examples of what i've tried but i'm into day 2 of trying to make this work so my brain is starting to get a little muddled!

    Many thanks for any help offered.
    Last edited by Excel-sior; 08-21-2009 at 12:25 PM. Reason: forgot to check box for email notification

  2. #2
    Registered User
    Join Date
    08-21-2009
    Location
    London,Ontario
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Cell Reference Inside DDE Link

    Found this in another forum:

    > I have a the following in an excel cell:
    >
    > =GETPC|SP?!NumTicks
    >
    > I am trying to modify it so that cell C2 contains the value "SP?" and
    > it is substituted into the above formula. Something like
    >
    > =GETPC|$C$2!NumTicks
    >
    > That doesn't seem to work. Any ideas? Thanks.

    Is that a DDE link to a data provider? If so, you're out of luck as
    such links don't support the indirection that you're trying to do (or
    any other type <g>).



    This is essentially exactly what i'm trying to do. Dang. Does anyone know a different way of accomplishing the same thing?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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