penfold1992
Registered User.
- Local time
- Today, 02:54
- Joined
- Nov 22, 2012
- Messages
- 169
Hi,
I have a database dump in excel that gets sorted out via a macro to leave me with the "important records of the week".
I would then like the ability to click on a link to the access database which opens the database form, puts in the relevent record ID and then clicks on the "Search button" that finds the record.
The issue is that I dont know how to control the form from vba from inside excel...
I would normally use Me.RecNo.Value = *variable* to change the value of the record number but "Me" is not considered a function.
Is there a way to control the form from an excel vba module?
this is all I have at the moment
I have a database dump in excel that gets sorted out via a macro to leave me with the "important records of the week".
I would then like the ability to click on a link to the access database which opens the database form, puts in the relevent record ID and then clicks on the "Search button" that finds the record.
The issue is that I dont know how to control the form from vba from inside excel...
I would normally use Me.RecNo.Value = *variable* to change the value of the record number but "Me" is not considered a function.
Is there a way to control the form from an excel vba module?
Code:
Dim accapp As Object
Dim DBApp As Access.Application
Set accapp = CreateObject("Access.Application")
accapp.Visible = True
accapp.OpenCurrentDatabase -db link-
this is all I have at the moment