Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro to hide a column in an array of worksheets. I would like to have
it get the column from a cell in a worksheet. How do I go about doing that? In other words, If cell N42 has a J in it, then the J would be transferred to the macro. Dim sh As Worksheet For Each sh In ActiveWindow.SelectedSheets sh.Columns("g:g").Hidden = True Next Thanks Neal |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Passing data to fix cell | Excel Worksheet Functions | |||
Passing variables between a form and macro | New Users to Excel | |||
Passing variables between a form and macro | New Users to Excel | |||
passing arguments from an excel macro to a word macro | Excel Discussion (Misc queries) | |||
Passing Text from User Form to Spreadsheet | Excel Programming |