LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default Copy/paste number as text

Excel XP & Win XP
I have a bunch of 10-digit contract numbers I need to copy and paste in
a VBA routine. Say I have 1234567895. I am using "PasteSpecial
xlPasteValues" because I don't want to carry the formatting over to the
destination (colors, font size, etc).
Excel insists on pasting the numbers in scientific notation.
I tried formatting the destination cell to Text before pasting.
I tried formatting the source cell to Text before copying.
I tried both at the same time.
The pasted number is still in scientific notation.
How can I copy/paste the contract number in its original form?
Thanks for your time. Otto


 
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
Number Format Changes During VBA Copy/Paste LarryP Excel Discussion (Misc queries) 2 March 3rd 10 03:21 PM
Copy & paste block of text number of times equal to value in cell azoll Excel Worksheet Functions 1 July 29th 08 06:03 AM
VBA text for copy + paste Makaron Excel Discussion (Misc queries) 5 June 16th 08 05:04 PM
Copy and Paste Number from Notepad Carter68 Excel Discussion (Misc queries) 2 January 18th 07 07:56 PM
How to copy and paste number formats only? Maestro_J Excel Programming 7 July 17th 06 10:28 PM


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