468,759 Members | 2,050 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,759 developers. It's quick & easy.

macro to copy and paste values within a currently selected column

Could anyone help me with the task of copying and pasting the values of changing cell references in excel using code for a macro?(macro to copy and paste values within a currently selected column).

I have this code for performing the similar task but for a certain specified range....I need help on how I can setup code for a macro to copy and paste values within a selected column, based on which column is selected. THANKYOU!

Sub Macro1()
'
' Macro1 Macro
'

'
Range("E6:E13").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End Sub
Mar 22 '07 #1
0 1235

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Faith | last post: by
1 post views Thread by Sean Howard | last post: by
reply views Thread by jpodesta | last post: by
1 post views Thread by Tomomichi Amano | last post: by
17 posts views Thread by Steve | last post: by
reply views Thread by =?Utf-8?B?TGV0emRvXzF0?= | last post: by
11 posts views Thread by John | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.