Questions tagged [xls]
xls is the file extension for files created using the default format of Microsoft Excel (prior to Excel 2007).
1,869
questions
0
votes
0
answers
66
views
Excel file become corrupted and remove existing data validation when workbook created from original file with Apache POI
I need to write data to existing excel workbook (.xls) but when the workbook is created, it become corrupted with error We found a problem with some content in.... When yes is clicked, the excel ...
0
votes
1
answer
58
views
Write data to existing excel (.xls) using apache POI, the workbook created give error excel lost some data [duplicate]
I'm trying to work on writing data to the excel file using apache POI-3.15-beta1, but when the workbook is created, the workbook becomes corrupted with lost some content which is some of the formula ...
0
votes
0
answers
58
views
How to use PapaParser to parse xls files
I used react papaparser to upload the xls file, but the parsed content of the xls file after uploading was garbled. Even if I specify accept: application/vnd.ms Excel, it is still invalid. Thank you ...
-1
votes
1
answer
34
views
Problem with displaying only certain rows from excel with pandas in Python
I know my code is super untidy and may look horrible but as not even amateur I am trying to create simple code to allow me see planned closure of specific highway. I have managed to extract desirable ...
0
votes
1
answer
28
views
Getting files stored in TextBox1 for conversion
Good day.
I am newbie in coding and need your help.
I am trying to create an app which will.
Browse all doc, XLS and ppt files through browse button and will show the file names in TextBox1.
When I ...
1
vote
0
answers
13
views
Selenium PHP: Unable to Download a xls file in Chrome headless mode [duplicate]
I am trying to download an xls file using a link in Headless mode.
The file is getting downloaded in head mode.
Scenario:
Need to click on a link
There is no link that can get retrieved as href ...
0
votes
0
answers
13
views
Why is a filter scanning my attachment (.xlsx) declaring it as a xls
A filter is declaring my .xlsx as an .xls because of the mime type found in the file
mime type : application/vnd.ms-office
im kinda confused?
I tried to change the xlsx or resend it again but still ...
0
votes
1
answer
48
views
Don't skip empty rows/columns at the beginning with SheetJS
I'm using SheetJS 2.0.0 to read .xls/.xlsx files in Javascript and automatically parse them to a 2D array:
function ReadFile(myFile) {
var reader = new FileReader();
reader.readAsBinaryString(...
0
votes
2
answers
93
views
Send an xls file in kdb q using sendmail functionality
I have an xls file saved from the table and will want to send the xls file on an email using sendmail functionality.
The xls file is as : (Method 1)
xlsFile : `:temp/email.xls 0: .h.edsn `tickets`...
0
votes
1
answer
36
views
Select and retrieve contacts from excel in flutter?
import 'dart:io';
import 'package:excel/excel.dart';
import 'package:file_picker/file_picker.dart';
import 'package:flutter/material.dart';
class MainPageTest2 extends StatelessWidget {
@override
...
0
votes
0
answers
39
views
NoClassDefFoundError intellij Apache POI
i am new to javafx applications.
As per the title I have a problem with Apache POI I have included both the poi-ooxml dependency and the poi-ooxml-schemas dependency all at version 4.1.2, when I run ...
0
votes
0
answers
40
views
No module named 'xlrd' or Missing optional dependency 'xlrd' when read .xls file
Hi I was using pandas to read an .xls file, since it's the old version Excel file, I specified the engine = "xlrd". However it says Missing optional dependency 'xlrd' or No module named '...
0
votes
0
answers
88
views
Not able to read XLS salesforce reports - java.io.IOException: Can't open workbook - unsupported file type: UNKNOWN
I want to download Sfdc Reports and extract data. We were downloading xlsx but found out that some of the columns values are truncated and only 255 characters are displayed in xlsx report.
But if we ...
0
votes
0
answers
17
views
Is there a way to change the inline HTML code in my XLS form to make the image responsive?
How can I change the inline html so that the image is responsive? This is within an XLS form, so I am very limited here, I think.
What I have:
What I want:
The code:
<p>
<span style="...
0
votes
0
answers
51
views
SSRS Report Builder problem including ODBC (xls)-DSN
I try to use an Excel-Datafile as an Dataset for the MS Report Builder.
Therefore, i create a ODBC System-DSN ("DSExcel") and connect the Excel-file to it.
Then i created an embedded ...
0
votes
0
answers
32
views
Python - XLRD cannot open XLS files due to Unsupported format, or corrupt file; Expected BOF record
I have a folder full of XLS files that I am attempting to read into a Pandas data frame.
My code:
daily_postings_folder = '//DAILY POSTINGS - MAY23/'
daily_postings_list = glob.glob(os.path.join(...
0
votes
1
answer
65
views
PHPSpreadsheet export xls file with complex formulas
I am using a laravel package "Maatwebsite" to export my data into a xls format.
As my data are complex and requires some complex formula as well.
I need to CONCATENATE two cells using LOOKUP ...
0
votes
0
answers
34
views
compare two excel files and write matches and non matches to third in ruby
I want to compare two xlsx files and write to a third.
Sheet1 has url and id fields and Sheet2 has url and type fields. If there is a url match, combine the data and write to sheet3, which will have ...
0
votes
0
answers
40
views
Using powershell to read lines from excel and outputting it to a txt without whitespaces
Pretty new to to powershell and coding in general, dabbled a bit here and there and would like to try creating my own organized files.
I have an excel sheet(xls) from which I need certain rows and ...
0
votes
0
answers
35
views
Apache tika - how to extract comments from the xls files
I want to extract the comments from xls file in python. I am using Python-tika for the same. When i use tika to get the text I am getting comments as a part of response in between sheets but I want to ...
1
vote
1
answer
111
views
VBA workbooks.open to open .xls file runs very slow
Below is my VBA code:
Workbooks.Open filepath\filename & ".xls"
But it takes around 200 seconds to open a xls file with size of 3M.
When I replaced the file with other excel version, ...
0
votes
1
answer
51
views
How to insert image data from xml into xsl template?
I am converting xml to PDF with an xsl template, using Apache-FOP.
I have the following xml structure:
<image>
<type>image/png</type>
<data>iVBORw0KGgoAAAANS...</...
0
votes
0
answers
245
views
Invoice generation in Springboot in PDF and XLS format
I am having requirement to generate invoices from data available in Database.
Which tool would be good in spring boot.
OpenPDF/Thymeleaf /Apache Poi?
Which tool would be ideal to use and where?
Any ...
1
vote
2
answers
161
views
How to use Pandas to read the old_Excel xls format?
How I can use Pandas to import an old format XLS file (Not XLSX)?
I downloaded an XLS file from United Nation Exchange Rate (https://treasury.un.org/operationalrates/OpRatesExport.php)
Even trying ...
1
vote
0
answers
27
views
copying row from old .xls extension without changing cell formatting in python
I am trying to copy entire row of .XLS files containing specific code provided by user's input. The files have a column with date provided with custom formatting. Due to that, once the row is copied, ...
0
votes
0
answers
88
views
How to convert .xlsx file in R to .xls
I have specific need- one of the uploads I need to do is allowed only in .xls file.
So I am reading input in R (input is in .xlsx) via following command:
library(rio);
Data= import("Table.xlsx&...
0
votes
1
answer
67
views
XPTY0020 The required item type of the context item for the child axis is node(), but the supplied expression {.} has item type xs:anyAtomicType
i always receive the error message:
XPTY0020 The required item type of the context item for the child axis is node(), but the
supplied expression {.} has item type xs:anyAtomicType
for my code.
I ...
1
vote
3
answers
133
views
Sort dataframe by dates
I am importing an excel file in which a column is a date in the format dd/mm/yyyy.
When I import it from the excel file, I think it is understood as a string. I need to sort the whole DataFrame by ...
0
votes
0
answers
16
views
stack pandas dataframe with different columns at the end of each dataframe table [duplicate]
I need to stack dataframe below another dataframe table and export in XLS or CSV format
pandas concatenate is of no use here.
df1 = DF("A"=[2], "B"=[5], "C"=[1])
df2 = DF(...
0
votes
1
answer
43
views
Excluding a node in <xsl:apply-templates select= />
I am working with this TEI XML document:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://epidoc.stoa.org/schema/latest/tei-epidoc.rng" ...
0
votes
0
answers
93
views
Dealing with Error "found in NAME formula"
I have tons of ".xls" format excel files that haves #NAME error in it.
I need to open each one, collect data from a specific range. but when I try to open it with xlrd I get the following ...
-1
votes
1
answer
113
views
Error message "Error: openxlsx can only read .xlsx or .xlsm files" in R 4.1.3
I have a script I was using a few months ago, and I was asked to re-output it using new source data. Now I get the message "Error: openxlsx can only read .xlsx or .xlsm files."
Of course, it ...
0
votes
0
answers
29
views
How to open XLS file with pandas
I'm trying to change the format of an .XLS file to .xlsx, but without success with Pandas until here. The file has the .XLS extension, with a format for windows 97-2003. Solutions like changing the ...
1
vote
1
answer
21
views
Python Pandas - can not draw correct chart with two columns. In col 1 are several values of type A and several of type B. In col 2 are numbers
I have table in xls that I need to visulaise in chart. Im using Python Pandas. Table has this structure:
ORP
Produkce_obyv._kg
a
289,77
a
333,31
...
...
b
198,69
b
214,71
...
...
Im using this ...
-1
votes
1
answer
127
views
How can I write xls and xlsx file (Excel file) from Dataset in spark with java?
I want to write an Spark Dataset as an xls and xlsx (MS Excel) files using java.
So,
How can I write data into an excel sheet in spark?
I tried to generate the xls and xlsx file but, the report ...
0
votes
0
answers
59
views
PDF Accessibility | Title - Failed Error in Adobe Acrobat Pro using Apache FOP in Java
I'm working on Apache FOP to generate a PDF. As part of the compliance, I've enabled accessibility to true on FOUserAgent. Here's my below code snippet.
FopFactory fopFactory = FopFactory.newInstance(...
0
votes
0
answers
41
views
Show table in xls using angular
In my mssql database i have a hex string like this.
0x3C4465737061746368....
It is an xml file converted to hex string. When i convert this hex string to base64 and then to xml i am getting an xml ...
0
votes
0
answers
47
views
xls table fail responsive to mobile view at opencart 3.0.3.8
I have upload an exel table to OpenCart 3.0.3.8 of product description content and it is not responsive to mobile view. So I go to setting/custom codes/custom CSS/add the below CSS code:
width: ...
0
votes
1
answer
55
views
Load data from Excel to SQL Server using SSIS
I’m trying to load data from Excel to table using SSIS but it’s not getting loaded properly. Example: my column1 contains data as below:
Column 1
1
1.1
1.1.1
1.2
1.3
1.4
Output coming in sql ...
0
votes
0
answers
75
views
How can I read the xls and ppt file and transform it into text in PHP
I'm working on a project in which I'm going to take the contents of two files (xls and ppt) and transform them into text. Can you explain me clearly how I can read these two files(xls and ppt) and ...
1
vote
0
answers
252
views
pandas converts all values in excel to zero because there is a = sign in front of values
I have this Excel file (xls) in S3 bucket. With Python I pull it down, then with pandas, I read it, convert it to pandas frame then write the frame to CSV. CSV is produced and all values are zero.
one ...
0
votes
0
answers
110
views
Can't open xls with python "AssertionError"
I'm trying to open an xls file from a site and I can't open, when i download in my local machine it opens fine with LibreOffice.
import requests
from bs4 import BeautifulSoup
import pandas as pd
resp ...
0
votes
0
answers
31
views
Excel formula is breaking from XML spread sheet when special character is used in the downloaded excel file
My formula in the downloaded excel file is breaking from XML spread sheet which has the formula(concatenating 2 strings with hypen in between)
ss:Formula="=RC[17]&"m x "&RC[18]&...
0
votes
0
answers
256
views
Display XLS / XLSX files (using Base64 data as input) on Reactjs website
I have a base64 data (of mimetype : application/vnd.openxmlformats-officedocument.spreadsheetml.sheet )
I'm using xlsx library , where datas are collected and plotted well, but for some xlsx files ...
0
votes
0
answers
23
views
Android MS-Office files opening issue
I want to open XLS,DOC, and PPT files inside android application using android studio without using any external app , this app should works in offline mode.
I searched a lot on internet. but did't ...
0
votes
1
answer
60
views
clean imported xls file with php
When I import XLS files, I would like to avoid the import of empty rows. I tried with several codes without success. Can anyone help me?
This is the code:
require('xls/php-excel-reader/excel_reader2....
0
votes
1
answer
37
views
Referencing Previous Version of File using Filename
I am saving workbooks with v[ ] next to them to differentiate between latest and earlier versions.
Workbook v1
Workbook v2
...
Workbook v365
Is there a way to create a dynamic formula that does the ...
0
votes
2
answers
171
views
How can I pull data by uniqueid from an xlsx file and write that data to another xlsx file with the same column name using Python?
I have asked this multiple times but this time, I will use both xlsx. Until now I couldn't figure out how to do this properly so I am seeking again for your expertise. Basically, I would like to ...
0
votes
0
answers
53
views
How can I prompt user what data to copy from CSV to XLS using Python?
I would like to ask if it's possible in Python which would open the CSV or XLS file and prompts the user to input a specific row (from and to) and copy paste that information to another CSV or XLS ...
0
votes
1
answer
155
views
Select specific rows/columns xls file
I would like to select specific rows and columns in Python. I already use pandas somewhere in my code so I'd prefer a way to do it with this library.
I tried specific_row = pandas.read_excel('...