I did something like this :
CommonDialog1.ShowOpen
PlanName = CommonDialog1.Filename 'open my worksheet
Data1.DatabaseName = PlanName
Data1.RecordSource = "Plan1"
and there is a MSFLEXGRID which property DataSource = Data1
It doesn't work. Can anyone help me?
Thanks in advance,
CommonDialog1.ShowOpen
PlanName = CommonDialog1.Filename 'open my worksheet
Data1.DatabaseName = PlanName
Data1.RecordSource = "Plan1"
and there is a MSFLEXGRID which property DataSource = Data1
It doesn't work. Can anyone help me?
Thanks in advance,