spumbu1977
New Member
- Joined
- Dec 28, 2005
- Messages
- 16
hi all,
i am trying to add a column intoi my excel spreadsheet during my apps runtime
so far i have is the follwing
Dim Ex As Object
Dim ws As Object
Set Ex = CreateObject("Excel.Application")
Ex.Workbooks.Add ("c:\text.xls")
Set ws = Ex.Worksheets(1)
ws.Range("f3").Select
ws.Selection.EntireColumn.Insert
Ex.Visible = True
but it tells me object not supported on the folowing line : ws.Selection.EntireColumn.Insert
anyone have any ideas
thanks in advance
ROb
i am trying to add a column intoi my excel spreadsheet during my apps runtime
so far i have is the follwing
Dim Ex As Object
Dim ws As Object
Set Ex = CreateObject("Excel.Application")
Ex.Workbooks.Add ("c:\text.xls")
Set ws = Ex.Worksheets(1)
ws.Range("f3").Select
ws.Selection.EntireColumn.Insert
Ex.Visible = True
but it tells me object not supported on the folowing line : ws.Selection.EntireColumn.Insert
anyone have any ideas
thanks in advance
ROb