Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Paste Special

replace:

destrange.Value = sourceRange.Value


with:

If sourceRange.PrefixCharacter = "'" Then
destrange.Value = Chr(39) & sourceRange.Value
Else
destrange.Value = sourceRange.Value
End If

--
Gary's Student


"sparx" wrote:


Hi there, being dum as I am, where would I place your code in the code I
already have?


--
sparx
------------------------------------------------------------------------
sparx's Profile: http://www.excelforum.com/member.php...o&userid=16787
View this thread: http://www.excelforum.com/showthread...hreadid=551639


 
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
Paste Special and Linking ajkim001 Excel Discussion (Misc queries) 8 March 14th 06 02:10 PM
Paste Special Problem ajkim001 Excel Discussion (Misc queries) 1 March 10th 06 11:50 PM
strange Paste special pmarques Excel Discussion (Misc queries) 1 February 8th 06 07:18 PM
paste special - formulas bjw10 Excel Worksheet Functions 6 February 1st 06 05:17 PM
Paste special treats cells as a picture charlie Excel Discussion (Misc queries) 2 November 17th 05 04:00 PM


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