Then just replace the SaveAs with more parameters to disable the dialog box.nd09 said:right now I tested that code (9.6 in the user guide) and it open the “save as” dialog box (that I do not need).
It’s just an example. Please search for ActiveWorkbook.SaveAs and you’ll find VBA code snippets.gdgsupport said:ActiveWorkbook.SaveAs Filename:=vFile, FileFormat:= .
Sub SaveItNowTest()
'On Error Resume Next
Set XLSPadlock = Application.COMAddIns("GXLSForm.GXLSFormula").Object
PathToFile = XLSPadlock.PLEvalVar("EXEPath") & "myPREVIOUSworkbook.xlsm"
Set XLSPadlock = Application.COMAddIns("GXLS.GXLSPLock").Object
XLSPadlock.SetOption Option:="1", Value:="1"
ActiveWorkbook.SaveAs PathToFile
XLSPadlock.SetOption Option:="1", Value:="0"
End Sub
Sure, you can distribute a batch file with your EXE.nd09 said:and before I learn how to do it, is it possible to distrbute it to my end-user with my exe file?
This is a great news, I will wait for the next release in January. try to do this feature without any extra file except the EXE file and it will be excellent. no need to search for XLSC file’s, no need to worry maybe my end user will delete XLSC and things like that, all project in one EXE file.Or you can wait for the next release of XLS Padlock (in January) in which we’ll offer the way to load/save the workbook without any prompt, as you requested.
We use essential cookies to make this site work, and optional cookies to enhance your experience.