R
Romolo
Guest
In a VB6 Form CommandButton Control through which I intend to activate an
EXCEL instance and open a given Workbook to give the user the capability to
read AND
MODIFY data according to his needs, I've put the simple code reported below.
Private Sub Command2_Click()
Unload Me
Dim WbName As String
WbName = "C:\WBOOK1.xls"
Set objexcel = CreateObject("Excel.Application")
objexcel.Visible = True
objexcel.Workbooks.Open FileName:= WbName, _
UpdateLinks:=True, ReadOnly:=False
End Sub
Despite of the "ReadOnly:=False" specification, I can only have access to
the xl file in ReadOnly mode!
There are no restrictions related to that file. How can I solve this problem?
My sys. environment is:
Window XP Home SP2
EXCEL 2003 SP3
Thanks a lot
Romolo
EXCEL instance and open a given Workbook to give the user the capability to
read AND
MODIFY data according to his needs, I've put the simple code reported below.
Private Sub Command2_Click()
Unload Me
Dim WbName As String
WbName = "C:\WBOOK1.xls"
Set objexcel = CreateObject("Excel.Application")
objexcel.Visible = True
objexcel.Workbooks.Open FileName:= WbName, _
UpdateLinks:=True, ReadOnly:=False
End Sub
Despite of the "ReadOnly:=False" specification, I can only have access to
the xl file in ReadOnly mode!
There are no restrictions related to that file. How can I solve this problem?
My sys. environment is:
Window XP Home SP2
EXCEL 2003 SP3
Thanks a lot
Romolo