• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 565
  • Last Modified:

Attributes to run a vbs silently to open/save as csv/close excel without prompting the users with SAVE/CANCEL questions?

I have a script that silently opens and excel spreadsheet and saves it as a csv file but it keeps prompting the user with SAVE or CANCEL questions since there are several worksheets on the spreadsheet.  Is there an attribute that can be set that answers these questions silently so the user is not prompted?
1 Solution
can you post the script?
Patrick MatthewsCommented:
Use a line like this, assuming your Excel application variable is something like xlApp:

xlApp.DisplayAlerts = False
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now