Oopps, that is not much use is it.#?
I was interested in the bit you mentioned when you said <<<< If I put this at the beginning of my click event procedure, it clears the immediate window. However, focus remains with the immediate window and the rest of the click event procedure does not run. >>>>, not Domenic's code.
The text that does not return is that suggested by Domenico:
I inserted the Application.VBE.ActiveCodePane.Show line just ahead of the End Sub line. When executed, it takes me to the code window for the module containing the cls sub but appears to delete the contents of the module. Execution halts at that point.
On 4/12/2016 4:14 AM, 'Bob Phillips' email@example.com [MS_Access_Professionals] wrote:
I created a simple form with a command button, and that ran the code after this clearing code. Can you show the code that doesn't return, I am intrigued?
Have you also tried adding
Thanks Domenico. If I put this at the beginning of my click event procedure, it clears the immediate window. However, focus remains with the immediate window and the rest of the click event procedure does not run. How does one return to the calling procedure and continue its execution?
On 4/11/2016 2:31 AM, Domenico Cozzolino firstname.lastname@example.org [MS_Access_Professionals] wrote:
I used this
found with google search
Got it that time. Now to learn how to use it. Thank you.
On 4/10/2016 4:26 PM, 'Bill Mosca' email@example.com [MS_Access_Professionals] wrote:
Steve try this one that takes you to the page. From there, you can find the file to download.:
Thank you Duane. I didn't find that in the Links section. Sadly, when I try it, the browser displays "Error occurred while downloading the file. Please click here to try again."
On 4/9/2016 10:15 PM, Duane Hookom firstname.lastname@example.org [MS_Access_Professionals] wrote:
I think Bill sent you to our group's files Utilities and Add-Ins
Duane Hookom, MVP
Date: Sat, 9 Apr 2016 21:49:42 -0400
Subject: Re: [MS_AccessPros] How to clear the debug window?
I did. The link takes me to this web page which offers a download of MZ-Tools 8.0 for $80, discounted to $60. Maybe I'm missing something?
On 4/9/2016 8:04 PM, Bill Mosca email@example.com [MS_Access_Professionals] wrote:
The older version is free. That's why I said to check out file folder.
Thanks Bill. Found the link. For the moment I think I'll stick to the select/control-A/delete method rather than spend the money :-)
On 4/8/2016 10:46 PM, Bill Mosca firstname.lastname@example.org [MS_Access_Professionals] wrote:
Yes, use mztools add-in. URL in our links folder
Is there a way to programmatically delete all the lines in the debug
window? I'd like a clean debug window each time I run the code I am
working on. Right now I clear the debug window manually by clicking in
it, then control-A and the delete key. Is there an alternative?
Posted by: "Bob Phillips" <email@example.com>
|Reply via web post||•||Reply to sender||•||Reply to group||•||Start a New Topic||•||Messages in this topic (16)|