add external data with VBA into excel - excel

In current excel sheets I work with with data import/refresh via ODBC connection where I import data from our ERP system into excel 2010. When refreshing data to excel, the existing data is deleted and replaced with the newly imported data.
Now I want to create a log file, so im looking for a way to add data to the already imported and existing data in the excel sheet. The import data properties do not offer me that functionality. Any suggestions to implement this with VBA / Macro?
Thank you very much for your suggestions.

Related

Importing into existing sheet laravel excel

So I am a Laravel Excel novice and I need to find a way to import table data into an existing excel sheet on my disk. So far I have been able to Excel::download a fresh sheet with my table data, but sadly not been able to import it to the existing excel sheet I want. Do you have any ideas?
So are you wanting to import data from an excel spreadsheet to a database? if so here is the link on how to get started on the docs. Just to be aware you need to upload the excel file to handle it laravel import docs

VBA to copy fields from external application to 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.

How to download from a data source extension into excel using VBA

I have an online data source that I've linked to excel using the domo excel extension. This enables me to download data tables straight from domo into a an excel doc. My goal is to use a macro to automate the following steps:
At a 12am ET on Sunday morning, open an new excel document
Access the extension and download a data table
Save the newly populated excel table as "Data File (date)" into a specific folder.
In my limited experience with VBA, i attempted to record even just the download process from an open sheet and excel stops recording as soon as I click on the extension tab.
two-part question: First, is there a way to access the extension via my macro? If so, is it possible to schedule the desired process?
Thank you!

Pulling qlikview data to excel from excel with vba

Is it possible to, from Excel, connect to a qlikview server and fetch data? I know exporting from qv to excel is a nobrainer but have not found a way from Excel. I am thinking of connecting, then selecting qv data and then fetching result, and all of this with vba from excel.
Is it possible?
You need to write load script which will extract the data from QlikView. Or you should use the data load wizard in QlikView. You need QlikView Desktop to do this.

PowerPivot table in excel is not refreshing automatically Is there any VBA code for it. I don't know much about VBA

I have a Excel file the data in it is imported to powerpivot the issue here is that each time I download the file onto a new machine from the same server where the file is stored. It shows an error and the data is not automatically refreshed. Is there any VBA code that we can use to automatically update the power pivot table. The machine has Excel 2013. After manually refreshing the file it works fine. But I have to it each time I download the file.
To interact with a power pivot model though VBA you would use the ThisWorkbook.Model object.
So for example to Initialize the power pivot model to memory and then refresh it, it would be the following two commands.
ThisWorkbook.Model.Initialize
ThisWorkbook.Model.Refresh

Resources