excel

Python: Reading Excel 2007 files under Linux environment

Greetings, I want to read excel 2007 files via python on my Ubuntu server. I have already checked http://www.python-excel.org/ xlwt and xlrd but it seems like none of them can read excel 2007 files. What would be your recommendation? Regards ...

VB.NET ReportViewer: Merged columns when exporting to Excel

I'm using a reportviewer in VB.NET. When the user exports a report to Excel some of the columns get merged and hidden. is it possible to fix this? Maybe by manipulating some code or a setting somewhere..? ...

VBA: Open an xls file and add it to the current workbook.

Hey all, I am having trouble with this one. I have an xls file which contains a single sheet of data. In my main application, a different workbook, I want to open this single sheet xls file and copy the sheet into the current workbook. I can do it if I select the range on the source file to copy but this single file may change so I...

Average function Excel 2000.

Hi all, I have a huge set of data which gets updated every month. I would like to check if the new data differs from previous months in %. It look like this: month name data jan 551 2 jan 552 20 dec 553 12 jan 553 13 dec 554 9 okt 555 2 nov 555 2 dec 555 2,5 So 5 names, up...

How can I make the Excel cell menu update when the keyboard's context menu key is pressed

At the moment, I have code that runs in the Application's SheetBeforeRightClick event, but I've found that this code doesn't run when I press the keyboard's Context Menu key instead of using the right mouse button, which means that I get the wrong menu. I could use the SheetSelectionChange event instead, but I'd imagine this would be qu...

How to save an SQL file using Save Dialog in excel

I'm creating an SQL file using Application.Path & SQL_statements.After that I write SQL statements into this file through vba.Now I want to save the file after all SQL statements are generated in an different directory.This directory depends upon the user.Hence I want to give him an Save as Dialog . Thus, I need to save the file that I ...

How to read a Excel file that is selected and submitted in JSP form ?

The end user will select an excel file on executing the below jsp program. <form action="?? " method="post" enctype="multipart/form-data" name="form1" id="form1"> Upload File: <input name="file" type="file" id="file"><br><br> <input type="submit" name="Submit" value="Submit"/><br><br> <input type="reset" name="Reset" v...

How to build Excel macro with date range

Hi, I hv created a From Date & To Date in excel (Sheet1). Under cell A3, I hv From Date :: 01-01-2010 and cell A4 To Date :: 31-08-2010. How do I link the Date Range to the below macro:- Sub Sales() Dim StrSQl As String Con = "Provider=IBMDA400;Data Source=XXX.XXX.XXX.XXX;User Id=yyyy;Password=zzzz" Set Db = CreateObject("ADODB.Con...

How to create a function in Excel to validate cells using RegExs

I have a long spreadsheet with tariff codes that I need to validate and I would like to create a function with RegEx to do it automatically (this is a daily task that I will have to do for the following months and I would like to automatize) For example in Column A, I have the following data: CODE 1000.00.00 1000.10.00 1020.12.99 ... ...

Open Source Excel Engine for Sharepoint 2007

I was wondering if you knew of any Open Source or paid Excel engine which we could use without going down the Sharepoint 2007 MOSS route? Thank you. ...

Read excel file and insert records in database in C#- Windows Azure

The requirements for my application is to browse for an excel file, Upload the file , read each row from the excel file and insert into the database. I am building this appliation in Windows Azure. Prior to this I have successfully used OleDbDataAdapter to read the data from the excel file into the dataset. The connection strings I use...

SCORM Quizzes from Office

Does anyone know of MS Office (Word, Excel or PowerPoint) templates for create a SCORM quiz? Paid or free, but must be customizable in VSTO or VBA. Thx! ...

Is there a way to develop custom SmartArt?

Is there a way to develop custom SmartArt for PowerPoint. I'm not looking for a way to develop "fake" smart art, like add a bunch of shapes and then group them and copy/paste between presenations. I'd like to create a number of new SmartArts that are based on this kind of fake SmartArt that my company uses, but have it "smart", like hitt...

Import data from excel into multiple tables

Hey all, I'm building an offline C# application that will import data off spread sheets and store them in a SQL Database that I have created (Inside the Project). Through some research I have been able to use some code that can import a static table, into a Database that is exactly the same layout as the columns in the worksheet What I...

Django and xlrd, reading from memory

Hello My plan is to let a user to upload an excel file, once uploaded I will be displaying editable form which contains the content of the uploaded excel, once user confirms the input is correct, he/she hits the save button and these items are saved at some model. For this, I have written this view and form: form: IMPORT_FILE_TYPES = ...

Why this code works in c# (Excel automation problem)

Hi everyone, Atfirst let me tell you, i don't think i am a very bad coder. Yes, i am not an extreme coder but i can code enough to make a system working. Last few days i were given responsibility to automate an microsoft excel automation task. As the deadline was too short so i didn't go "Read manual-do the job" style....I directly sea...

Create Excel reports by programming from templates

I'm using "Apache POI" to generate Excel report. I've a well designed Excel template. I want to create a report by filling the data into predefined locations of the template. That is to say, I do not want to care about the formats of the report. Is that possible? Could you give me some instructions? ...

php-excel-reader - problem with UTF-8

Hi, I'm using php-excel-reader 2.21 for converting XLS file to CSV. I wrote a simple script to do that, but I have some problems with unicode characters. It does not return values from some cells. For example it doesn't have problems with cell content ceník položek but have problems with nákup, VÝROBCE, PÁS, HRUBÝ,NÁKLADNÍ and some othe...

How can I filter and copy data in Excel?

Hi, I have a lot of data in an excel worksheet. For calculations, I would like to restrict this data to the relevant data only. That is: filter the data and put the subset in another worksheet. Relevant data is data that falls within a given minimum and maximum value. For example: Suppose I want to filter column A for values between 1 ...

Excel formatting...

I have a spreadsheet with text in column A. For example A1=MY TEXT1 A2=MY TEXT2 A3=MY TEXT3 A4=MY TEXT4 A5=MY TEXT5 I want to add an apostrophe to the front and back of the text Result to be: B1='MY TEXT1' B2='MY TEXT2' B3='MY TEXT3' B4='MY TEXT4' B5='MY TEXT5' It seems like a straight forward thing to do. Any one know how? ...