Questions tagged as 'xls'

1
answer

How to get columns from XLS files in R

Using the R tool, I was able to open an XLS file as follows: require(xlsx) coln = function(x) { y = rbind(seq(1, ncol(x))) colnames(y) = colnames(x) rownames(y) = "col.number" return(y) } data = read.xlsx2(path, 1) coln(data) x = 3...
asked by 04.09.2015 / 19:30
2
answers

Create worksheet by adding images and changing line color

This method creates an Excel spreadsheet, with int and string : public function arrayToXls($input) { // BoF $ret = pack('ssssss', 0x809, 0x8, 0x0, 0x10, 0x0, 0x0); // array_values is used to ensure that the array is n...
asked by 17.03.2015 / 14:00
1
answer

Generate .xls file with column omission

I have a table with 5 columns, considering that the first one has a selection box and the last one has a button to delete that particular line. The question is that I want to export to Excel, in a file .xsl , but without the first and l...
asked by 21.09.2017 / 21:37
1
answer

Does not download the XLS worksheet

The system was in a reseller and I had to migrate to a VPS with Cpanel, the script to generate the XLS was working fine, opened and downloaded, but now it just opens on the screen What do I need to enable to work properly? $html = '<tab...
asked by 18.09.2017 / 18:20
1
answer

Validate empty fields in XLSX file - (EPPlus) ASP.NET

I'm doing the import of an XLSX file in C #, using ExcelPackage . I make some validations in the Ex import: Numeric, text and if the field is empty. Note: If all the columns in my file are filled, the import is successful. One of the ap...
asked by 04.06.2018 / 16:16
1
answer

Insert comment via function

How to insert a comment with the text of a cell through a function?     
asked by 09.11.2017 / 20:26
0
answers

Error creating and downloading XLS with CakePHP [closed]

I have the following code: $this->autoRender = false; $this->autoLayout = false; $turmaId = base64_decode($turmaId); $turma = $this->Turma->find('first',array( 'conditions'=>array( 'Turma.id'=...
asked by 26.01.2015 / 14:40
1
answer

Select data from a worksheet

I read data from a spreadsheet using Python 3 libraries (xlrd / xlsxwriter / Pandas and Numpy). This worksheet has in the lines questions of the survey and in the columns the areas that answered the survey. Each sentence has a note, ranging from...
asked by 24.11.2017 / 01:02
1
answer

Read more than one tab on file

My code runs through all the cells in my worksheet and returns all the values I need, and in this file.xls has only one tab. Now I have a new file to go through and there are 8 tabs. I know I need to boot with: workbook_r = open_workbook('a...
asked by 18.09.2014 / 15:00
1
answer

Plotting .xls file with matplotlib and openpyxl

Having the following content in my .xls file:    Belo Horizonte - MG 2278.8       Porto Alegre - RS 1647.8       Recife - PE 2434.9       Rio de Janeiro - RJ 1653.6       Salvador - BA 2324.1       São Paulo - SP 2227.5       Total of a...
asked by 10.03.2018 / 20:10