LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default how to paste values created by custom format?

Hi,

I have a spreadsheet that has a column of ID codes on it that all appear to
be 7 or 8 digits long. Looking at the formatting, it seems that the
formatting of all of this column is a custom format of "0000000". This means
that some of the entries which are really only 6 digits, are being preceded
with a 0 automatically, which is correct and just seems to be the way that
the person working on the spreadsheet used to get the leading zeros to
display and not be autocorrected. Also, as I mentioned, there are some 8
digit entries which dont begin with a zero, and these seem to be left alone
completely by the custom format and just display as normal despite being
overlength.

I need to use this column in a mail merge, but am obviously only getting the
'true' auto-corrected value of the cell rather than the displayed value,
which often misses the leading zero where there is one.

After looking around at the usual solutions to this on the web, i cant find
anyway of getting the displayed values with the leading zeros that were
created by the custom formatting on there. The following things didnt work:

1) copy, paste special,values - took out the leading zeros on the shorter
entries until I formatted the cells as the same custom format again, thus
giving me exactly what I started with

2) putting ' at the start of cells - i DO NOT want the cell to remain
untouched by Excel, I want the formatting to carry through to Word

3) formatting the merge field in Word - this doesnt add leading zeros, it
just adds a space when I did it

4) changing the cell format to text etc - this removes my leading zeros
which i want to remain there.

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?


Very long winded, hopefully someone will understand me here, cheers, Oli


 
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
How do I save a custom cell format that I created? mrs_teeks Excel Worksheet Functions 1 May 8th 06 03:55 AM
how do i read off values from a chart created in excel? rachel Excel Discussion (Misc queries) 0 December 11th 05 05:31 PM
Format a Comment created by a Macro Ken G. Excel Discussion (Misc queries) 3 August 30th 05 07:28 AM
Can an Excel formula be created to paste a picture in a cell? bonita0914 Excel Worksheet Functions 2 April 28th 05 06:11 PM
I've created a custom fill series. Now I don't know how to use i. candybluevt Excel Discussion (Misc queries) 2 January 26th 05 08:48 PM


All times are GMT +1. The time now is 07:00 PM.

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"