R
ravindarbtech
hello friends,
i am using ms access 2003,
i have a form.
when i click on a button,
i should get the new excel window displaying a particular table
values(no need to save the tabel in .xls format, just display is
enough)
so i followed the code below
Dim oExcel As Excel.Application
Dim oWB As Excel.Workbook
Dim oWs As Excel.Worksheet
Set oExcel = New Excel.Application
Set oWs = Excel.Worksheets.Application.ActiveSheet
oExcel.Visible = True
Set oWs = oExcel.ActiveSheet
after this, i should insert the values in the new displayed excel
window
and now i am struck here(even i dont know whether this is correct
procedure)
can any body suggest me what to do
i am using ms access 2003,
i have a form.
when i click on a button,
i should get the new excel window displaying a particular table
values(no need to save the tabel in .xls format, just display is
enough)
so i followed the code below
Dim oExcel As Excel.Application
Dim oWB As Excel.Workbook
Dim oWs As Excel.Worksheet
Set oExcel = New Excel.Application
Set oWs = Excel.Worksheets.Application.ActiveSheet
oExcel.Visible = True
Set oWs = oExcel.ActiveSheet
after this, i should insert the values in the new displayed excel
window
and now i am struck here(even i dont know whether this is correct
procedure)
can any body suggest me what to do