How does one go about removing all splits in code? I've tried the following but the program ends up crashing.
Dim f_i As Integer, f_Count As Integer
f_Count = (p_GridObj.Splits.Count - 1)
For f_i = f_Count To 1 Step -1
p_GridObj.Splits.RemoveAt(f_i)
Next
Also, the doc states to use the RemoveVerticalSplit, and RemoveHorizontalSplit method calls, but there is no way (that I can find) how to determine if a split returned from the split collection is a Vertical or Horizontal Split object.
Michael