Hello, I've been attempting to replace Excel cells that contain image filepaths with the actual images themselves.
I found an example in Office Scripts that shows how to insert images with online URLs but doesn't mention anything about inserting local files.
So far, I have tried using both absolute and relative paths for the image file (like the one shown below) but neither seem to work.
const link = "../sample.jpg"
If you'd like to read the article I mentioned, you can find it here: https://learn.microsoft.com/en-gb/office/dev/scripts/resources/samples/add-image-to-workbook#sample-code-add-an-image-from-a-url-to-a-workbook
Any assistance on this matter would be greatly appreciated. Thank you!