How to save excel table in MS Access and extract it to another excel file - accessdatasource

I know we can save excel table data into an Access data base and extract it.
Could you guys please give me an example with VBA coding to improve my knowledge.
Regards,
Linga

Related

How do I import a Google sheet in a chrome extension project?

I wish to enhance an existing web page by adding statistics that can be regularly fed by a large amount of people.
I chose to use Google Sheets to retrieve the data so that anyone can access the tables and make their addition but I have no clue of how to display the sheet's results in the concerned web page.
In my case, I'm editing the webpage's text from Javascript.
I thougth of two tools that might help:
Importing the google sheet in Javascript (I can't find how to do that, an alternative would be welcome if not possible)
Importing the google sheet in Python and then exporting its results as an internal .txt file which I should be able to read with Javascript but that would require the .txt file to be updated every now and then.
Could you guys lend me a hand in how to do this?
Thanks in advance!

How to read excel file from user and generating Google Sheet file

I need to allow user upload excel (xlsx) file and then generate a Google Sheets file using Google Scripts (the generated file uses the input file values, process them with certain formulas and provides another excel file as output based on all processing)
I am currently doing the task in a simple desktop application (using MS Excel etc.), but problem is I have admin rights and I want other people to do the same on their PCs but they dont have admin rights, so please help me with this, whats the best way I can implement it via Google Sheets. I need following to do:
Get an XLSX file from user
Read two columns using google sheet script.
Process the read values and create a new google sheet file with 6/7 columns
Plz help as I am not looking for a ready made code but a head start, as I have never worked with google scripts before.
First you need to study the basics of Apps Script in general, and of the SpreadsheetApp, DriveApp and Advanced Drive Service in specific.
The steps to write your code would be
retrieving the excel file on your Google Drive
retrieving its blob
creating a new file of the mimeType GOOGLE_SHEETS with the contents of your blob
Once you create a Google Spreadsheet - process it with the SpreadsheetApp methods to delete spare contents/ create a copy with only the desired contents.
Here you can find useful samples.
Note: It might make sense to retrieve the columns of interest before
converting them to Google Sheets, but this is not something you can do
with Apps Script or a Google API since they do not have methods to
edit Excel files.

Export real-time data from scada wincc to google sheets

Is there a way to connect realtime data from wincc scada to google sheets?
It is possible to do so using VB Scripts which are very similar to VBA.
Here is a link from someone who did the same from an Excel sheet: How to write to a “Google Spreadsheet” from Excel 2003 VBA.
You can use the VB Script to create almost the same structure (without strong types) and populate the value fields with your tag values, qualities and anything else.

Can I use LinqToExcel for saving edited data to excel?

I am using LinqToExcel for sorting of data. I want to save sorted data back to excel. For that is there any function in LinqToExcel
As mentioned on the LinqToExcel project page, it is designed for querying data, not modifying data. So no, there is not anything built into LinqToExcel to allow this.
To modify an Excel sheet, you will need to use either the Visual Studio Tools for Office (VSTO), Open Office XML, or a third-party library that wraps one of these.

reading excel worksheet in mvc .net

Could someone help with some good examples of on how to read a excel spreadsheet in .Net 4.0 using MVC?
I will have to read 3-4 worksheets in an Excel spreadsheet, loop through the rows in each worksheet retrieve the values in each cell and then store it in the database. Looking for some code with examples to point me in the right directions.
Thanks for your help in Advance.
Sue.
You can use NPOI.
There you have so many examples, you can try to use example ImportXlsToDataTable

Resources