JavaTurkey
Technical User
I've got some VBA code which edits a specific XL document...
Set xlobj = CreateObject("excel.application"
With xlobj
.Workbooks.open Filename:="R:\All-In-One\po_local.xls"
.Range("B8"
.select
.ActiveCell.FormulaR1C1 = Me!Name
.Quit
End With
it works great, except when it runs, it pops up asking me if I'd like to save changes...any way to just hardcode "YES" ?
Set xlobj = CreateObject("excel.application"
With xlobj
.Workbooks.open Filename:="R:\All-In-One\po_local.xls"
.Range("B8"
.ActiveCell.FormulaR1C1 = Me!Name
.Quit
End With
it works great, except when it runs, it pops up asking me if I'd like to save changes...any way to just hardcode "YES" ?