Copy Contents of one MSFlexGrid To Another

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Intermediate
Author:
Waty

Version Compatibility:

More information:
Sample Usage: (Pasting Entire contents of MSFlexGrid1 to MSFlexGrid2):

CopyFromGrid MSFlexGrid1, 0, MSFlexGrid1.Rows - 1, 0, MSFlexGrid1.Cols - 1

PasteToGrid MSFlexGrid2, 0, 0

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

Declarations:

Code: