Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Richard
 
Posts: n/a
Default Cell format changes when I paste

I have a spreadsheet that users paste reference numbers into from another
system. The numbers are either 4, 5 or 11 digits long. Because a lot of the
11 digit numbers begin with a zero that cannot be dropped the cell format has
to be text.

Whenever the user pastes an 11 digit number beginning in a zero the cell
format in excel gets changed from 'Text' to 'General' and the zero is lost

Any ideas on how I can lock the cell format. Excel 2000 user
  #2   Report Post  
Posted to microsoft.public.excel.misc
Doug Kanter
 
Posts: n/a
Default Cell format changes when I paste


"Richard" wrote in message
...
I have a spreadsheet that users paste reference numbers into from another
system. The numbers are either 4, 5 or 11 digits long. Because a lot of
the
11 digit numbers begin with a zero that cannot be dropped the cell format
has
to be text.

Whenever the user pastes an 11 digit number beginning in a zero the cell
format in excel gets changed from 'Text' to 'General' and the zero is lost

Any ideas on how I can lock the cell format. Excel 2000 user


This is not a method of locking, but can't they use the Paste Special-Value
trick to put their numbers into the sheet?


  #3   Report Post  
Posted to microsoft.public.excel.misc
Richard
 
Posts: n/a
Default Cell format changes when I paste

Hi Doug.

At present that is what they do. Unfortunately sometimes they forget
themselves & just do a 'paste'. The paste not only turns the cell to from
text to general format but amends that cels from locked to unlocked. As teh
workbook is protected I have to ask all users to come out of the [shared}
workbook, unprotect the worksheet, unlock & correct the cell and then
reprotect & reativate the shared facility.

"Doug Kanter" wrote:


"Richard" wrote in message
...
I have a spreadsheet that users paste reference numbers into from another
system. The numbers are either 4, 5 or 11 digits long. Because a lot of
the
11 digit numbers begin with a zero that cannot be dropped the cell format
has
to be text.

Whenever the user pastes an 11 digit number beginning in a zero the cell
format in excel gets changed from 'Text' to 'General' and the zero is lost

Any ideas on how I can lock the cell format. Excel 2000 user


This is not a method of locking, but can't they use the Paste Special-Value
trick to put their numbers into the sheet?



  #4   Report Post  
Posted to microsoft.public.excel.misc
robert111
 
Posts: n/a
Default Cell format changes when I paste


Format the receiving cell so that a "text" leading zero appears in front
of any number pasted in

eg "0"000


--
robert111
------------------------------------------------------------------------
robert111's Profile: http://www.excelforum.com/member.php...o&userid=31996
View this thread: http://www.excelforum.com/showthread...hreadid=523021

  #5   Report Post  
Posted to microsoft.public.excel.misc
Doug Kanter
 
Posts: n/a
Default Cell format changes when I paste

"robert111" wrote
in message ...

Format the receiving cell so that a "text" leading zero appears in front
of any number pasted in

eg "0"000


In Excel 2000, a simple paste function brings the copied format with it. Is
that not the case with later versions?


Reply
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
Format of a cell profG Excel Discussion (Misc queries) 1 January 16th 06 03:02 PM
Select cell, Copy it, Paste it, Return to Previous cell spydor Excel Discussion (Misc queries) 1 December 30th 05 01:29 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
excel - numbers as text Thuferhawat New Users to Excel 12 January 24th 05 09:29 PM


All times are GMT +1. The time now is 05:11 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"