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 opened, displaying a particular table present in my access database.
so i went through this code
Dim oExcel As Excel.Applicati on
Dim oWB As Excel.Workbook
Dim oWs As Excel.Worksheet
Set oExcel = New Excel.Applicati on
'Set oWs = Excel.Worksheet s.Application.A ctiveSheet
Set oWs = Excel.ActiveShe et
oExcel.Visible = True
Set oWs = oExcel.ActiveSh eet
i am not sure of this. i am struck here.
what should i do next
is this the correct way to proceed?
or else is there any easy way?
i am using ms access 2003,
i have a form,
when i click on a button, i should get the new excel window opened, displaying a particular table present in my access database.
so i went through this code
Dim oExcel As Excel.Applicati on
Dim oWB As Excel.Workbook
Dim oWs As Excel.Worksheet
Set oExcel = New Excel.Applicati on
'Set oWs = Excel.Worksheet s.Application.A ctiveSheet
Set oWs = Excel.ActiveShe et
oExcel.Visible = True
Set oWs = oExcel.ActiveSh eet
i am not sure of this. i am struck here.
what should i do next
is this the correct way to proceed?
or else is there any easy way?
Comment