Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi everyone,
I am getting an error in this: Sub MoveCells() Columns("b:b").Select Selection.Cut Columns("g:g").Select Current.Selection Selection.Paste 'Here I am getting the error End Sub Anything wrong with "Paste"? Thanks, Mike |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
try Sub MoveCells() Columns("b:b").cut Destination:=Columns("g:g") end sub -- Regards Frank Kabel Frankfurt, Germany "Michael" schrieb im Newsbeitrag om... Hi everyone, I am getting an error in this: Sub MoveCells() Columns("b:b").Select Selection.Cut Columns("g:g").Select Current.Selection Selection.Paste 'Here I am getting the error End Sub Anything wrong with "Paste"? Thanks, Mike |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub MoveCells()
Columns("b:b").Cut Destination:=Columns("G:G") End Sub worked for me. -- Regards, Tom Ogilvy "Michael" wrote in message om... Hi everyone, I am getting an error in this: Sub MoveCells() Columns("b:b").Select Selection.Cut Columns("g:g").Select Current.Selection Selection.Paste 'Here I am getting the error End Sub Anything wrong with "Paste"? Thanks, Mike |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub MoveCells()
Columns("b").Cut Columns("g") End Sub -- Don Guillett SalesAid Software "Michael" wrote in message om... Hi everyone, I am getting an error in this: Sub MoveCells() Columns("b:b").Select Selection.Cut Columns("g:g").Select Current.Selection Selection.Paste 'Here I am getting the error End Sub Anything wrong with "Paste"? Thanks, Mike |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
What is wrong? | Excel Discussion (Misc queries) | |||
Insert Calculated Field (wrong Qty*Price = wrong Amount) | Excel Discussion (Misc queries) | |||
What am I doing wrong? | New Users to Excel | |||
What am I doing wrong? | Excel Discussion (Misc queries) | |||
What am I doing wrong? | Excel Programming |