Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formula for =Image() not working properly #85

Open
nielsrobin opened this issue Oct 10, 2023 · 0 comments
Open

formula for =Image() not working properly #85

nielsrobin opened this issue Oct 10, 2023 · 0 comments

Comments

@nielsrobin
Copy link

nielsrobin commented Oct 10, 2023

When using the image formula on a cell. e.g.:
=IMAGE("https://placekitten.com/200/300")
=@image("https://placekitten.com/200/300","Kitten",0)

The image is not displayed in the cell after writing the excel to a file.

Instead the error "#NAME?" is displayed in the cell. However if you select the cell you see the full formula and if you hit enter to refresh the cell the image appears.

To reproduce:

var wb = new xl.Workbook()
var ws = wb.addWorksheet('Sheet 1')
ws.cell(1, 1).formula('=IMAGE("https://placekitten.com/200/300")')
wb.write('./file.xlsx', function(err, stats) {})

My expectation would be that the image is displayed in the cell without having to refresh the cell.

OS: Windows
Node: v16.13.2
excel4node Version: 1.8.2
Application: Microsoft Excel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant