Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi, I am using a keyboard shortcut for some copying tasks.
Offset can get to work, but does not suit purpose here. would like to use a named range, to maintain integrity of sheet, moving columns.. thanks Named Ranges represent columns (from & to): Dim M2 As String M2 = Range("M2") Dim N3 As String N3 = Range("N3") 'does not work in a Sub(); wish to change columns If Not Intersect(Me.Range(J3), .Cells) Is Nothing Then 'all With Me.Cells(.Row, J2).Select End With End If not working: how do I correct this, for the next item after: Selection(ActiveSheet.Row, N3).Select 'does not work Sub Paste2() 'alt-/ (slash) Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False ActiveWindow.SmallScroll Down:=190 'NEED TO MOVE TO A DIFFERENT COLUMN FROM HERE End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to find and move column | Excel Discussion (Misc queries) | |||
macro to move to minimum value in column of data | Excel Discussion (Misc queries) | |||
Move Column within Sheet with VB Macro | Excel Discussion (Misc queries) | |||
How do I record a macro to move down and over to specific column | Excel Discussion (Misc queries) | |||
Macro to move to next column | Excel Discussion (Misc queries) |