469,917 Members | 1,891 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

Getting the name of the currently opened (that has a focus on it) form

176 100+
Hello users and experts.

I would like to know if it is possible , and if so, how to get the name of the currently opened form. I'm building a function that would sort any form that has a focus on it, and need the form name to be insereted into a variable to be passed to that function.

I have been searching the net with a method, with no success so far...

A help would me welcomed.
Michael.
May 10 '07 #1
2 1234
puppydogbuddy
1,923 Expert 1GB
Dim strActiveFormName As String


strActiveFormName = Screen.ActiveForm.Name
May 10 '07 #2
NeoPa
32,231 Expert Mod 16PB
Dim strActiveFormName As String


strActiveFormName = Screen.ActiveForm.Name
Interesting. I wouldn't have known that. Let us know how you get on Michael :)
May 15 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by NeverLift | last post: by
2 posts views Thread by John M | last post: by
1 post views Thread by Bill Strass | last post: by
8 posts views Thread by Susan Bricker | last post: by
1 post views Thread by | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.