gcacinfotech
New member
i want to generate reports in xls format from my code . i want to save these files as normal excel files . i added following code given at point not 11.8 of xlspadlock user guide
Dim xlspadlock As Object
Set xlspadlock = Application.COMAddIns(“GXLS.GXLSPLock”).Object
xlspadlock.setoption option:=“1”, Value:=“1”
however i get following error meesage
run time error ‘9’
Subscript out of range at line no 2 of above code
please help
Dim xlspadlock As Object
Set xlspadlock = Application.COMAddIns(“GXLS.GXLSPLock”).Object
xlspadlock.setoption option:=“1”, Value:=“1”
however i get following error meesage
run time error ‘9’
Subscript out of range at line no 2 of above code
please help
