The form initiates, but when I click "add job" within the form, it gives me this error. I tried to debug but i kept getting "stuck" on this same section of code - it just kept going through this section over and over.. I am assuming this is the error, but that's being assumptive. What do you think is up?
Also, I know that this is the code for the combo boxes and they are fine. So that's why I said it was assumptive. But, I could not get past this section of code to attempt and debug like you requested. I am really sorry all this junk is going on..For Each objControl In Me.Controls If objControl.Name = tb Then objControl.AddItem "" objControl.AddItem "Tiesen" objControl.AddItem "Jones" objControl.AddItem "TN" objControl.AddItem "Mie" objControl.AddItem "Jackson" objControl.AddItem "Mills" objControl.AddItem "Robertson" objControl.AddItem "Benley" objControl.AddItem "SAT" objControl.AddItem "Roscoe" objControl.AddItem "Lemon" objControl.AddItem "LC" objControl.AddItem "Chit" objControl.ListIndex = 0 Exit For End If Next
Last edited by arader1216; 02-04-2012 at 10:29 PM. Reason: Adding info
I cannot go to page three of the posts..
That loops over all the controls and finds the comboboxes and adds the values - this won't be the error. Place a Breakpoint next to EnterJob.Show (not the load command) and then hit F5 - the code will run and load the comboboxes then stop just before showing the form. Then start hitting F8 again and see where the error occurs. We need to narrow down where the error is actually occurring. I have added more error handling to the new version. You are using Excel 2010? 32bit or 64bit version? Use the attached workbook. Reboot your machine as well.
Last edited by smuzoen; 02-04-2012 at 11:03 PM.
Hope this helps.
Anthony
Pack my box with five dozen liquor jugs
PS: Remember to mark your questions as Solved once you are satisfied. Please rate the answer(s) by selecting the Star in the lower left next to the Triangle. It is appreciated”
32 Bit.. Excel 2010..
I can't get the debugging thing.. I think I am just frustrated by the whole project right now and I have not made any progress in a while. I am still far away from finished and I dunno if I am going to be able to actually do this.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks