J Jim8541 Registered User. Local time Today, 08:22 Joined Aug 13, 2004 Messages 14 Sep 13, 2004 #1 Hi, is there a way to jump to a function or procedure when I'm working in the VBA editor window? Thanks
Hi, is there a way to jump to a function or procedure when I'm working in the VBA editor window? Thanks
L llkhoutx Registered User. Local time Today, 07:22 Joined Feb 26, 2001 Messages 4,013 Sep 13, 2004 #2 When you say Jim8541 said: Hi, is there a way to jump to a function or procedure when I'm working in the VBA editor window? Thanks Click to expand... I presume that you mean execute the function or procedure. For Functions use var = YourFunctionName(), where var is the datatype returned. For Subroutines use Call YourSubroutineName
When you say Jim8541 said: Hi, is there a way to jump to a function or procedure when I'm working in the VBA editor window? Thanks Click to expand... I presume that you mean execute the function or procedure. For Functions use var = YourFunctionName(), where var is the datatype returned. For Subroutines use Call YourSubroutineName
Mile-O Back once again... Local time Today, 13:22 Joined Dec 10, 2002 Messages 11,305 Sep 13, 2004 #3 I read it as finding the sub amongst all the VBA code over different modules. The quickest way would be to open the Object Browser, find your object, and then double click on the sub you want.
I read it as finding the sub amongst all the VBA code over different modules. The quickest way would be to open the Object Browser, find your object, and then double click on the sub you want.
The Stoat The Grim Squeaker Local time Today, 13:22 Joined May 26, 2004 Messages 239 Sep 13, 2004 #4 If you highlight the function or sub you are calling as you would to copy some text i.e. - the bit in bold - X = Myfunction("Test") and then press shift and the F2 button you will "jump" to the sub or function that is being called. Hope that helps TS
If you highlight the function or sub you are calling as you would to copy some text i.e. - the bit in bold - X = Myfunction("Test") and then press shift and the F2 button you will "jump" to the sub or function that is being called. Hope that helps TS
E ecniv Access Developer Local time Today, 13:22 Joined Aug 16, 2004 Messages 229 Sep 13, 2004 #5 On the vba Editing window. Top Left dropdown - all the controls (for form modules) Top right dropdown - all subs/functions If you are in the code and you have a function/sub which you want to see, right mouse click>definition Plus all the other posts above. Vince
On the vba Editing window. Top Left dropdown - all the controls (for form modules) Top right dropdown - all subs/functions If you are in the code and you have a function/sub which you want to see, right mouse click>definition Plus all the other posts above. Vince
J Jim8541 Registered User. Local time Today, 08:22 Joined Aug 13, 2004 Messages 14 Sep 22, 2004 #6 Thanks, excellent help.