-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output zero width columns (was: About saving column blanks) #4
Comments
@FeeVB There is an explicit test What exactly do you want to solve? |
I want is to skip these columns and not have blank columns. |
I could help you but this has nothing to do with any issue in the original repo. This is a very basic programming task at novice level. You already have variable
and don't forget to set it to zero on next
Please post only relevent issues with the repo here. |
thank you! Invalid when setting column width equal to 0, because Sub pvBeginSheet () limits this setting. 'For i = 0 To lCols - 1 'Private Sub pvBeginSheet(oPart As cBiff12Part) ........ |
I'm sorry but I have no idea what are you talking about. As a final resort you can just send a PR with the fix of the issue if there is one as I don't see a problem.
. . . does not ring a bell here.
What you want to do (skipping a column when copying data from a flex grid) is outside the scope of this repo and is doable in "client code" using this project. |
I am describing the problem, I mean MSHFlexGrid1 has 6 columns, where column 2 and column 4 are equal to 0: MSHFlexGrid1.ColWidth(2) = 0, MSHFlexGrid1.ColWidth(4) = 0. |
Doh, I see what the problem is now -- yes, you cannot set This might get fixed eventually in some future release. Until then you can try using 1 for width instead of 0. (Not sure if -1 will be good idea though.) |
I'll close this issue when the fix is available. 10x |
hi wqweto:
I hope that the column width is less than 200 and it will not be saved. Now it is actually a blank column that is saved.
Is there a way to solve this? Thank you!
`Public Function Save2ExcelB(sFile As String, mGrid As MSHFlexGrid, lCols As Integer, lRows As Long) As Boolean
Dim oStyle() As cBiff12CellStyle
Dim lIdx As Long
Dim lRow As Long
Dim dblTimer As Single
Dim baBuffer() As Byte
Dim i As Integer
EH:
MsgBox Error & Err.Source, vbCritical, "Save2ExcelB"
End Function`
Biff12Writer.zip
The text was updated successfully, but these errors were encountered: