Ok...Another tough one...at least for me...
I have a program with several forms that is used to automate a word document. I would like to have the forms show up on the windows taskbar (for a variety of reasons) while the program is running, if the form is "visable".
Now, I understand that with a single form program, if I check the block in the properties window ("showintaskbar") that the form will show...but this seems to only work with programs of only one form.
In my case, I have most of my code in a module called "subMain." I start the program with subMain and I use the following code
Dim oform As Form1
Set oform = New Form1
Set oform = Nothing
And Form1 starts the show. But even though I indicate in the properties section to "showintaskbar=true", for all of my forms, I can not get them to display.
Have tried a bit of troubleshooting...placed all my code in Form1 and launched, and managed to get Form1 to show up on the taskbar, but still none of the other, subsequent forms (not to mention errors associated with attempts to access variables.
Is there something I'm missing here to get all my forms on the taskbar.