I tried all of these lines of code and they were all unsuccessful at
sharing the excel document from vb.net application:
XLwkb.Saveas("c:\filename.xls", , , , , , xlshared, , )
XLwkb.Saveas("c:\filename.xls", , , , , , "xlshared", , )
XLwkb.Saveas("c:\filename.xls", , , , , , xlshared)
XLwkb.Saveas("c:\filename.xls", , , , , , "xlshared")
XLwkb.Saveas("c:\filename.xls", , , , , , AccessMode:=xlshared, , )
XLwkb.Saveas("c:\filename.xls", , , , , , "AccessMode:=xlshared")
XLwkb.Saveas("c:\filename.xls", , , , , , AccessMode as xlsaveaccessmode
= "xlshared")
activeworkbook.SaveAs("c:\filename.xls" ,,,,,,AccessMode as
XlSaveAsAccessMode = xlShared)
I also tried all of these variations without the 6 commas inbetween
filename and access mode. None of them shared the workbook.
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!