MS Access VBA How to I supress the "Do you want to save changes" dialog for excel row deletes? -


similar question in ms access vba how delete row in excel

however, problem excel asks "do want save changes made ...?" there way force saving of changes , disable message box? try docmd.setwarnings false, not work.

you'll need add following code thisworkbook

private sub workbook_beforeclose(cancel boolean)     thisworkbook.save end sub 

if you're running vba in access , accessing excel object, save workbook (e.g. xlapp.thisworkbook.save) in code before closing


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -