![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 5
|
Hi
im working with a spreadsheet that is using Bloomberg DDE to get data, im not to hot on this but can do the formulas in the spreadsheet ok but ! i want to be able to do it in code, for example I have a ISIN Number and i want to use the FIRSecId function on the spreadsheet it is simply =FIRSecId(adn the ISIN Number) but i want to do that in VBA if i wanted to use a worksheet funciton in VBA i woud use Application.worksheetfunction.large(blah blah) can i do the same here something like application.addin(Bloomberg DDE).function.FIRSecId(ISIN no) if so how do i do it >? Chance |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Quote:
to the Addin in your project ie. VBA > Tools > reference.....then select your addin. To run an addin function in VBA Set test = Application.run("MyAddin!myaddinfunc", "mycriteria") or Application.Run "MyAddin!myaddinfunc", "mycriteria" |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|