G
Guest
How can I run visual basic code or macros in a subform that is inside an
unbound main form?
What I did was to create an unbound main form then I inserted a multipage
control on it. On every page of the multipage control, that is where I placed
my subforms. Now, I want to run macros or visual basic codes on my subforms.
However, when I open my main form and insert data on the subforms, the macros
I created in the subforms don't work. Instead an error message appears which
says "Run-time error '2487': The Object Type argument for the action of
method is blank or invalid.
What am I supposed to do?
Incidentally, I converted my macros to visual basic code but as of now, I
still have not used those codes knowing that they won't work just like the
macros.
Can you help me? Many thanks in advance. God bless...
unbound main form?
What I did was to create an unbound main form then I inserted a multipage
control on it. On every page of the multipage control, that is where I placed
my subforms. Now, I want to run macros or visual basic codes on my subforms.
However, when I open my main form and insert data on the subforms, the macros
I created in the subforms don't work. Instead an error message appears which
says "Run-time error '2487': The Object Type argument for the action of
method is blank or invalid.
What am I supposed to do?
Incidentally, I converted my macros to visual basic code but as of now, I
still have not used those codes knowing that they won't work just like the
macros.
Can you help me? Many thanks in advance. God bless...