ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Please help Frustrating VBA code writing problem (https://www.excelbanter.com/excel-programming/273825-please-help-frustrating-vba-code-writing-problem.html)

[email protected]

Please help Frustrating VBA code writing problem
 
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.

Oneide

Please help Frustrating VBA code writing problem
 
Only question 1:
Just close your form design window and you get back to where you were
before.
At least it works for me.

escreveu na mensagem
...
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.




All times are GMT +1. The time now is 02:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com