Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Excel-Reuters link

Posted on 2001-07-09
2
Medium Priority
?
716 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
  • 2
2 Comments
 
LVL 13

Accepted Solution

by:
cri earned 150 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

772 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