Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Oli,
So I was wondering if there was any other way of copy pasting the actual displayed values and retaining my leading zeros created by the custom format WITHOUT having to use the custom format on that column too? If you don't mind running a macro that changes all entries permanently to text: Sub Convert2Text() Dim oCell As Range For Each oCell In Selection oCell.Value = "'" & oCell.Text oCell.NumberFormat = "@" Next End Sub Paste this in a normal module, select your column and run the macro. Regards, Jan Karel Pieterse Excel MVP http://www.jkp-ads.com Member of: Professional Office Developer Association www.proofficedev.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I save a custom cell format that I created? | Excel Worksheet Functions | |||
how do i read off values from a chart created in excel? | Excel Discussion (Misc queries) | |||
Format a Comment created by a Macro | Excel Discussion (Misc queries) | |||
Can an Excel formula be created to paste a picture in a cell? | Excel Worksheet Functions | |||
I've created a custom fill series. Now I don't know how to use i. | Excel Discussion (Misc queries) |