I have a form with 6 edible mshflexgrids that stays loaded throughout the life of my app. It can only be unloaded when the main form unloads. The main form holds a public module level variable that is set to true when the main form is unloading. Then the main form unloads all forms in the app:
The problem i am having is somehow the grids loose the amount of rows they are supposed to contain and i get the error 381 subscript out of range. Is their any way the mshflexgrids can loose the number of rows without unloading the form ?Code:Dim frm As Form For Each frm In Forms Unload frm Set frm = Nothing Next





Reply With Quote