Call existing Excel Macros with phpExcel - mysql

Once you export all of the data you need from MySQL into an Excel spreadsheet using PHP Excel, is it possible to call an existing Excel macro to apply formats to the data? If so could you provide an example, please?

Related

SSRS and Google spreadsheets

I am writing a report and one of the sources resides in a Google docs spreadsheet. Is it possible to use that spreadsheet as a datasource in SSRS?
Is this doc spreadsheet Excel file? If so , you can use ODBC driver and use the Excel file as data source. See:
http://hussain-msbi.blogspot.com/2012/07/create-ssrs-report-using-excel-data.html
Otherwise you have to custom a data process extension so that SSRS can read the data.
Unfortunately it is not possible to use a google docs spreadsheet as a direct datasource for SSRS. You would need to make use of an API to download your data locally into a flat file format (such as csv). From there you can access the flat file as an SSRS datasource

Import excel workbook to Mysql database

Is there a way by which I can import an excel workbook which has multiple sheets to mysql database into multiple tables?
Which means, lets say
I have an excel workbook with 3 sheets named sheet1, sheet2 sheet3. Headers for each sheet is on the first row. Now I need these 3 sheets to be stored as 3 tables (sheet, sheet2, sheet3) in the database.
Is there a way to do this using phpmyadmin, php, python or any other?
I know, we can import individual csv sheets. I want to know if batch import works or not
Is there a way by which I can import an excel workbook which has
multiple sheets to mysql database into multiple tables?
If you have remote access to the database or if the database is on the same machine where you have Excel; the easiest way is the MySQL for Excel addin which allows you direct access to MySQL from within Excel.
If not, you have other options:
Export each sheet as a csv file, and then read those files individually to create the tables and populate them. Other than the Excel addin option, this is the recommended.
Use xlrt or phpexcel to read the native .xls format files and extract the information required from each sheet. This would be closest to your batch import requirement; in that you don't have to deal with multiple files representing each sheet.

Access 2007 Use VBA

I have data in access in the form of a table. I need to export it to excel in the form of an excel sheet where i should even be able to make updates to the data if necessary. I have to do this using VBA. And also one more thing the data I have in access is which i have generated using SQL
Why do this with VBA? There are multiple simple ways to do this from the normal interface options.
And what do you mean by, "the data I have in access is which i have generated using SQL"?
Modules: Sample Excel Automation - cell by cell which is slow
Modules: Transferring Records to Excel with Automation

upload data from .csv with multiple worksheets

can anyone please tell me how to upload the data from a .csv file on to a webpage which has 4 worksheets with different number of coloums and rows data.
You will have to write a PHP script or a script in another programming language which will read through the .csv, and then display the data using <table>s on the web page.

how to import data from Excel sheet to SQL Server using SSIS by counting through the number of sheets

I am doing an application where in I have to import data form excel workbook having multiple sheets and the count of the shets is not known exactly and I need to get the data from these multiple sheets to the SQL Server.I need to do this using SSIS.
Please help me out.....
Thanks in Advance...