View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
[email protected] tottigoh781@gmail.com is offline
external usenet poster
 
Posts: 4
Default How to set macro to Paste Special Value to next empty column

Range("P32,Q7:Q32").Select
Range("Q7").Activate
ActiveWindow.SmallScroll Down:=-12
Range("Q7:Q32").Select
Selection.Copy
Selection.End(xlToLeft).Select
Selection.End(xlToRight).Select
Selection.End(xlToLeft).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=False, Transpose:=False



I try to use the control left then click the right button to go to the
next empty column. However, the macro fail to copy to the next
available column.

Please help. Thanks