Ask Your Question
1

When I save an excel file using a script in VSC, why do the pictures disappear, but when I run the same script through cmd, they remain in the file?

asked 2021-08-07 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-09-24 11:00:00 +0000

scrum gravatar image

There are a few potential reasons why this could be happening:

  1. The script in VSC may not be saving the file in the same location as when the script is run through cmd. Make sure the file path is the same in both cases.

  2. VSC may not be running the script correctly, or there may be a bug in the script that causes the images to disappear. Try debugging the script in VSC to see if there are any errors or issues that need to be fixed.

  3. VSC may not be properly handling the formatting or encoding of the Excel file. You could try saving the file in a different format or specifying a different encoding when saving the file in the VSC script.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-08-07 11:00:00 +0000

Seen: 14 times

Last updated: Sep 24 '22