Re: Invalid CellReference:1A

Ash B <[email protected]>
Newsgroups gmane.comp.jakarta.poi.user
Message-ID <pony-495d689464ae675b141e19963bf8d5e86f353830-0a052d3b38a3c7bce73e383143f77e3194d9394f@user.poi.apache.org>

On 2021/02/10 11:46:37, Nick Burch <[email protected]> wrote: 
> On Wed, 10 Feb 2021, Ash B wrote:
> > While reading the file in java  , getting below issue .
> >
> > java.lang.IllegalArgumentException: Invalid CellReference:1A
> > at org.apache.poi.ss.util.CellReference.seperateRefParts
> 
> A cell reference of 1A is invalid - it should be A1.
> 
> Where is this problematic file coming from?
> 
> If you rename the .xlsx file to .zip, unzip and check the sheet xml files, 
> can you see the 1A reference there? If so, can you please share the 
> xml snippet?
> 
> Nick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 

Hi Thanks for you mail . 
I tried as suggested . Below is the code snippet . Could not share more ,as the code is on client's machine and manually typed it . 
<?xml version="1.0" encoding="utf-8"?>
    <x:worksheet xmlns:x="https://schemas.openxmlformats.org/spreadsheetml/2006/main">
        <x:sheetData>
         <x:row r="1"> 
           <x:c r="1A" t="inlineStr" s="2"> 
	 <x:is>
           <x:t>ID</x:t>	
         </x:is>
        </x:c>	
       <x:c r="1B" t="inlineStr" s="2">
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.