Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On Excel, I have a DDE formula on B1 which reads =server|info!someText.data

I want to change the formula so that someText is written on A1 and then reference it on the DDE formula. Something like =server|info!A1.data.

I have tried to concatenate "A1" directly on the formula, as it is above, with no success.

Some other things I tried were =server|info!A1&".data" and =server|info!indirect(A1)&".data", but had no success.

Is there a way to achieve this? How?

share|improve this question
add comment

1 Answer

Does this work for you?

="server|info!"& A1 &".data"

Be sure to include all the quotation marks.

Then, I think you might need to use =INDIRECT(B1) somewhere else, if I understand your question.

share|improve this answer
    
Nice try, but it didn't work. We got an #REF error. –  Mario Marinato -br- Mar 30 '12 at 13:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.