Mar 11, 2009 #1 JohnEOasis Programmer Joined Sep 3, 2008 Messages 32 Location US I have a ListView that is built dynamically and need to hide the last column. Is there a way to do this? I am using Excel 2007.
I have a ListView that is built dynamically and need to hide the last column. Is there a way to do this? I am using Excel 2007.
Mar 11, 2009 #2 DaveInIowa Programmer Joined Dec 2, 2003 Messages 576 Location US Set the ColumnWidths value to zero for the last column. For example: 1 in; 1 in; 0 Upvote 0 Downvote
Mar 11, 2009 Thread starter #3 JohnEOasis Programmer Joined Sep 3, 2008 Messages 32 Location US Thank you Set the ColumnWidths value to zero Click to expand... Code: myListView.ColumnHeaders(0).Width = 0 worked. Upvote 0 Downvote
Thank you Set the ColumnWidths value to zero Click to expand... Code: myListView.ColumnHeaders(0).Width = 0 worked.