Please help Frustrating VBA code writing problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I have a module displayed in the code window and in running the
program a form is displayed, then when the form is unloaded, the form
design window is displayed & I have to get my code window back.

IF the code that I want displayed is in the module for that form, I press
F7 and get the code window, but the current line is now the form_click
routine, not where my cursor had been and where I was working so I have to
find that place.

Is there a way to change this behavior? Thanks.

Question 2
Is there any way to have the code for a form displayed rather than the form
design window when I double click a form in the module list? Thanks again.
 
Only question 1:
Just close your form design window and you get back to where you were
before.
At least it works for me.

When I have a module displayed in the code window and in running the
program a form is displayed, then when the form is unloaded, the form
design window is displayed & I have to get my code window back.

IF the code that I want displayed is in the module for that form, I press
F7 and get the code window, but the current line is now the form_click
routine, not where my cursor had been and where I was working so I have to
find that place.

Is there a way to change this behavior? Thanks.

Question 2
Is there any way to have the code for a form displayed rather than the form
design window when I double click a form in the module list? Thanks
again.
 
Back
Top