Problems with User Forms

user forms , vba Huntsville, United States
  • 12 years ago
    I am working with Microsoft Excel 2003 with VBA 6.5. I have a workbook with multiple sheets. Each sheet has a User Form with buttons that can open other User Forms. For example, I have a Function User Form with a button for doors. When the Door button is pressed, it brings up the Door User Form, which has the option to Open, Stop, or Close. These are very simple User Forms. All they do is either call another User Form or call a Subroutine. The problem is that when I created two new User Forms on this sheet, one opened up and worked fine, but the other one looked as though it had deleted itself. None of the buttons were there, and the formatting had reset. However, the code I had written behind it was still there. I have tried everything that I know to fix the problem. Does anyone have any ideas? I'm not sure what information would be needed in coming to a solution, so if you require additional information let me know. Thank you in advance.
  • 12 years ago
    I have had a similar problem but the only way I was finally able to completely resolve it was to create a new spreadsheet and copy the existing valid forms and code over to the new one, then recreate the corrupt form...

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The trouble with programmers is that you can never tell what a programmer is doing until it's too late.” - Seymour Cray