Align Flexgrid Cells after Adding a Row or Column

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Beginning
Author:
Ed Ray

Version Compatibility:

More information:
This is used to align the flexgrid currently to center, but can be changed to something else. Call this sub after each time you change the amount of rows and cols, because after a row or column is added, the current alignment is not retained.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: