Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It is supposed to hide column J, copy column I, paste special (values) to
column J and re-hide column J. It does all that AND THEN hides columns G through L instead of just J. I I have no idea how to correct.. Help... Lori Sub Test() ' ' Test Macro ' Macro recorded 9/6/2006 by LORI MILLER ' ' Keyboard Shortcut: Ctrl+a ' Columns("I:K").Select Selection.EntireColumn.Hidden = False Range("I11:I34").Select Selection.Copy Range("J11").Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False 'Hide Column J Columns("J:J").Select Selection.EntireColumn.Hidden = True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro to hide/unhide columns | Excel Programming | |||
When i hide columns it hides whole sheet | Excel Discussion (Misc queries) | |||
How do I hide or unhide zero value columns/rows USING A MACRO? | Excel Discussion (Misc queries) | |||
Macro to hide or unhide columns | Excel Programming | |||
A recorded Macro to hide certain selected columns hides non selec. | Excel Programming |