Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub AdjustColumn()
Dim rng As Range Dim cell As Range Set cell = Selection Set rng = Intersect(ActiveCell.EntireColumn, _ ActiveSheet.UsedRange) rng.NumberFormat = "General" With Range("IV1") .Value = 1 .Copy End With rng.SpecialCells(xlConstants).PasteSpecial _ xlValues, xlMultiply Columns(256).Delete ActiveSheet.UsedRange cell.Select End Sub -- Regards, Tom Ogilvy wrote in message oups.com... Hi - tried it (xlValues), but no luck. The problem with the copy and paste is that I am doing it from the same column. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro that will paste a number in first blank cell of a column | Excel Discussion (Misc queries) | |||
Copy column, paste special formulas & number formats doesn't work | Excel Discussion (Misc queries) | |||
Formula to look up a column and paste results in another column | Excel Worksheet Functions | |||
Auto number w/ different letter-number combos in same column | Excel Worksheet Functions | |||
cut and paste a text from column (B:G)to A column | Excel Programming |