79171739

Date: 2024-11-08 22:29:32
Score: 1
Natty:
Report link

This is at best a work around since it prevents a "Confirm replace" by removing the file first. Sure, this may work but is not an ideal soluition.

If(Test-Path $filepath) 
{ Remove-Item $filepath } 

$workbook.SaveAS($filepath)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: J. DuBois