LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Paste column as number

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
macro that will paste a number in first blank cell of a column asebes Excel Discussion (Misc queries) 1 December 28th 09 05:34 PM
Copy column, paste special formulas & number formats doesn't work Beckey Excel Discussion (Misc queries) 3 July 30th 09 07:51 PM
Formula to look up a column and paste results in another column DM Excel Worksheet Functions 4 March 28th 06 07:36 PM
Auto number w/ different letter-number combos in same column Colleen B Excel Worksheet Functions 2 February 23rd 05 02:41 PM
cut and paste a text from column (B:G)to A column nancy Excel Programming 1 January 24th 04 08:31 PM


All times are GMT +1. The time now is 05:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"