hello expert
i have a programe in which i want to modify or add new records in excel sheet
but it opened read only and when ever i want to insert the record it give the message that give new name to save the changes
is there any idea to modify the excel sheet my code is
Set x1 = CreateObject("E xcel.Applicatio n")
x1.Workbooks.Op en ("c:\var\var2.x ls")
x1.Visible = True
x1.Worksheets(1 ).Cells(10, 5) = "hello"
'x1.ActiveWorkb ook.Save
Set xl = Nothing
Unload Me
thanks
i have a programe in which i want to modify or add new records in excel sheet
but it opened read only and when ever i want to insert the record it give the message that give new name to save the changes
is there any idea to modify the excel sheet my code is
Set x1 = CreateObject("E xcel.Applicatio n")
x1.Workbooks.Op en ("c:\var\var2.x ls")
x1.Visible = True
x1.Worksheets(1 ).Cells(10, 5) = "hello"
'x1.ActiveWorkb ook.Save
Set xl = Nothing
Unload Me
thanks
Comment