Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Your a genius!
I was missing the proper range format. I used the following lines to achive what i wanted: To get the "D:D" stringi used the following: rangeArray(colindex) = objws.Cells(1, colindex).EntireColumn.Address() Dim myStr As String For Each myStr In rangeArray If myStr < "" Then objws.Columns(myStr).Hidden = True End If Next And this to finish it off. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need to Improve Code Copying/Pasting Between Workbooks | Excel Discussion (Misc queries) | |||
How do I hide text beyond the last column in Excel? | Excel Discussion (Misc queries) | |||
Check COlumn - Excel VBA | Excel Discussion (Misc queries) | |||
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER | New Users to Excel | |||
Excel 97 Column & Row Header Problem | Excel Discussion (Misc queries) |