471,322 Members | 1,747 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,322 software developers and data experts.

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 1307

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.