Posted 24 December 2018, 1:36 am EST
Hi Jitender,
Thanks for your quick response. Your solution solves some of my problems. One problem is that RangeGroups don’t move with the row move as they do with the automatically loaded ws.Models.Data (which probably is as designed with the e.MoveContent = False). If I could get the new classDm to behave exactly as that automatically loaded ws.Models.Data, it would be great.
Also, a RangeGroup added to sheet with the new classDm does not show up until the sheet is redrawn (is there a way to force a redraw?. I have to resize the sheet). Add a ws.AddRangeGroup(4, 5, True) to the above Form1_Load to see what I mean.