|
-
July 9th, 2010, 07:08 AM
#4
Re: Excel sheets or MsflexGrid
Ok I've answered my last question, No it adds another row below the existing one.
Private Sub saveCmd_Click()
GridHistory.Rows = GridHistory.Rows + 1
Dim col, r
r = 0
For col = 0 To 5
GridHistory.TextMatrix(r, col) = lblNumber(col).Caption
Next
End Sub
(I had to change the C Dim to Col as I already have C defined elsewhere in the code)
So it works fine the first time but then if you click it again it adds another row below the existing info and then re-writes the existing info.
Any ideas how I can get around this
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|