Solved

Excel-Reuters link

Posted on 2001-07-09
2
705 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

752 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