VBA to copy fields from external application to excel - excel

I am looking to use a VBA in excel to copy rows/columns of data from my organisation's trading platform (Fidessa) to an excel workbook. The problem I've encountered however is that Fidessa doesn't have an excel plug-in as standard. So is there a way for excel or VBA to automatically copy and paste fields of data from external applications such as Fidessa?
I'm relatively new to VBA so any help would be welcome, thanks!
Used VBA code to copy data as screenshot but this is not suitable. It needs to be the data rows/columns from Fidessa copied across to Excel in order for it to be viable/functional.

Related

Use formula across embedded excel sheets in MS Word (Office 365)

I have an excel sheet embedded in an MS-Word document. At another place in same document I want to put in some outcomes from the embedded spreadsheet (2 cells in particular). The word file needs to be shareable too.
I have tried "linking" excel sheet, but then have to share it (the excel) along with the docx file. Also tried embedding different spreadsheet, but the formulas in the sheets do not talk (or cannot talk to my knowledge)
Is there any way to do this in easy fashion?
What you are asking is not possible. The only workarounds would be to use:
a) an external Excel workbook, with each of your embedded worksheets linked to that; or
b) a macro to activate a given 'source' embedded worksheet in the document, gather the required data from there, then insert that data in the corresponding 'target' worksheet.

How does Excel show data from other excel workbooks to which I dont have access?

I got an excel sheet which has a lot of links to other excel sheets.
Now I don't have access to those sheets because they are in someone else's hard drive.
When I open the excel sheet given to me, I get warning that some links could not be updated, which I understand. But the sheet still populates values in cells that are referring to those other excel sheets. How is this possible?
It has an embedded copy of the other sheets, which is embedded in the sheet your working on. If the files exists and have been altered, excel updates the existing embedded copies.

Pre-populating PowerPoint file with Excel input

I am currently in the following situation:
I have an Excel file where I perform calculations and charts + diagrams are created based on the calculations.
I have a PowerPoint report where I have to copy-paste these visualizations into.
I will need to repeat this process for many Excel files, all containing the same lay out. You can view them as a questionnaire: each Excel file is completed with different answers, though the structure remains the same.
Is there a way for me to create a template PowerPoint report file, where at the start I select which Excel file to 'load', and it pre-populates my PowerPoint file with the correct charts from the selected Excel file?
ndeed, there is a free option available. With SlideFab 2 (lite) you can automate Excel to Powerpoint without coding: You would need to setup the Powerpoint template and link all shapes with the required Excel ranges or charts. Then SlideFab creates the slides for you. When the structure is really the same, you could just let SlideFab connect to the next Excel file and rerun the slide-making process again.
You could also consider using RDBmerge to collect all workbook sheets into one Excel and using formulas to create a kind of staging area which is used for linking with Powerpoint. This would have the benefit that when you iterate a list of worksheet names, your lookup (e.g. using vlookup or index/match) functions would grab the appropriate data into the staging area. SlideFab could then create all slides at once through changing the selected worksheet in a repetitive way.
In case of questions, feel free to reach out.
Disclaimer: I am the owner of SlideFab 2.
Cheers
Jens

Identify the excel addin being used using a VBA Macro

I am working with Excel and we are using an Excel Addin to perform some of the calculations that we may need. The add-in has various formulae. What I am trying to do is write a VBA macro that will identify any formulae from the add-in being used in the sheet and paste them as values. Is there any way the macro can identify which formulae are linked to the add-in and which of those are plain excel formulae?
It is not ideal especially if your add-ins have many functions. But basically you can create a table with 2 columns, AddinName, FunctionName. And then you can loops through cells check if a cell has formula using the Range.HasFormula. And then check if any of the functions you have in the table you created is in that cell.

Treat .mdb as .xlsx?

I recently made an Excel workbook (with the help of Stackoverflow) where I have a regular input of data (each entry is one row with different columns). I then have a macro that extracts the data from a specified row to a different sheet and saves this sheet as a .PDF.
That way, I can extract specific data from this Excel "database" to a readable pdf. I do this because I need a paper version from specific entries.
For a different project I need to implement the same principle. The only difference is that I need to work with an .mdb file where the data is stored, instead of an Excel workbook.
Is there a way I can reuse my code from Excel or is it now a completely different story?
Thank you for the advice.
You can link your excel workbook to your Access tables. On the "DATA" ribbon there is a section for "External Data".
Once you've got the Access data displayed on one of your worksheets, you should be able to adapt your existing code accordingly.
From Microsoft:
Connect an Access database to your workbook

Resources