Solved

Excel-Reuters link

Posted on 2001-07-09
2
708 Views
Last Modified: 2012-05-04
I have a reuters Ric code in excel eg. =REUTER|CANTOR!'ARGFRB,6'
I want to know how to remove 'ARGFRB' from the formula by referencing it in another cell.
I've tried concatenating but this doesn't help.
0
Comment
Question by:QWERTY99
[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
2 Comments
 
LVL 13

Accepted Solution

by:
cri earned 50 total points
ID: 6265470
From a PAQ I participated:

XXXX
From: vboukhar Date: Monday, September 06 1999 - 06:23AM PDT  

OK, look at another suggestion:
Add Module to your VBAproject (Alt-F11) of your workbook and add code below (to create user-defined
function for on-sheet usage):

Public Function DoEval(a As String)
DoEval = ActiveSheet.Evaluate(a)
End Function

Now at your sheet you can place formula like that, where create desirable string with CONCATENATE function:

"=DoEval(CONCATENATE("STOCK|NYSE!",A1))"
(assume stock name is in A1 cell). Now if you change name in A1 cell, you'll get what you want

Hope it helps
XXXX

Remark: Depending of how many manual inputs your spreadsheet has, the calculation probably should be
set at manual or triggered by some macro, otherwise you will have multiple updating.  

0
 
LVL 13

Expert Comment

by:cri
ID: 6265476
Another alternative is to _write_ the formula into the cell using VBA.

BTW: Using INDIRECT does not work here.
0

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

626 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