View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default vb code to hide columns

Surely, you can figure out how to make the change. Or, is there more to your
question?

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"pm tlb" <pm
wrote in message
...
I have a spreadsheet that multiple people view. I need a macro to hide the
columns that some don't need to see and another macro to unhide the
columns.
the macro I created hides columns B-M and I need it to hide F-K. The VB
code
currently is

Columns("F:K").Select
Selection.EntireColumn.Hidden = True
End Sub