Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Mon Sep 02, 2019 2:55 am

Good Day!

I am getting an error while converting excel file to PDF, the sheet has a formula like below:

=MID(CELL("filename"),SEARCH("[",CELL("filename"))+1, SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-1)

and it brings me to the error: parsing "[" - Unterminated [] set. Error in calculating cell E13 in Worksheet Cover Page

Kindly help what to do with this. thanks!
Attachments
EXCEL TO PDF.jpg
Formula in Sheet
EXCEL TO PDF.jpg (158.05 KiB) Viewed 1903 times

tcballelos
 
Posts: 36
Joined: Wed Nov 28, 2018 5:35 am

Mon Sep 02, 2019 9:14 am

Hi,

Thanks for your inquiry.
After converting a file with the formulas "=MID(CELL("filename"),SEARCH("[",CELL("filename"))+1, SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-1)" and "=TRIM(LEFT(SUBSTITUTE(MID(CELL("filename",A1), FIND("[",CELL("filename",A1))+1,255),".xl",REPT(" ",255)),255))" , I didn't encounter any issue.
To help us solve your issue quickly, please provide your input Excel and the code you were using.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Thu Oct 17, 2019 9:13 am

Hi,

Greetings from E-iceblue.
Has your issue been resolved? Could you please give us some feedback at your convenience?

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Mon Oct 21, 2019 2:46 am

Hello!

Thanks already resolved. :)

tcballelos
 
Posts: 36
Joined: Wed Nov 28, 2018 5:35 am

Mon Oct 21, 2019 3:23 am

Hi,

Thanks for your feedback.
Any question, welcome to get it back to us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.XLS