Home |
Search |
Today's Posts |
#10
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Don, thanks for the clarification. Apologies for my error.
It should be: Sub makevalues() mc = "q" sr = 7 lr = Cells(Rows.Count, mc).End(xlUp).Row nc = Cells(sr, mc).End(xlToLeft).Column + 1 Range(Cells(sr, mc), Cells(lr, mc)).Copy Cells(sr, nc).PasteSpecial Paste:=xlValues Application.CutCopyMode = False End Sub -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Don Guillett" wrote in message ... Max, The point was to replace the old nc= with the new, not to have both. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
PASTE SPECIAL w/ Macro | Excel Discussion (Misc queries) | |||
paste special / skip empty cells doesn't work!? | Excel Worksheet Functions | |||
Macro - Auto Paste Special | Excel Discussion (Misc queries) | |||
Paste Special Macro - can't undo | New Users to Excel | |||
Paste Special in a macro | Excel Worksheet Functions |