Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JIM.H.
 
Posts: n/a
Default Q: overwrite during saveas

I use ActiveWorkbook.SaveAs desFile in my module and I need to get this work
without prompt even if the file exists
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Try

application.displayalerts = false
ActiveWorkbook.SaveAs desFile
application.displayalerts = true


Regards,

Peo Sjoblom

"JIM.H." wrote:

I use ActiveWorkbook.SaveAs desFile in my module and I need to get this work
without prompt even if the file exists

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"