Originally Posted by
royUK
There's a database form example
here that might help
Thanks, Roy.
I dl'ed a couple of the examples and rearranged my code. So it now looks something like this:
What's supposed to be happening here is that the user clicks on CommandButton5, which brings up UserForm1. When the user clicks on the Enter button
(CommandButton2) on UserForm1, the above code is supposed to populate the active row with an "x", depending on which box has been checked.
The code for CommandButton5 is:
but now I'm getting an error with that line of code: Run time error 91: Object
variable or With block variable not set.
So I took out the "With Me" and "End With" statements and still got the same error message with the same line of code highlighted.
I thought I had to specify that when the user clicked on a button to activate
a userform, that that line of code was what you used.
What have I done wrong?
BTW, I really appreciate everyone's help.
gwendolyn
Bookmarks