Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Excel 2002: Is there a way to default font for pasted data ?

Mr. Low

Paste this event code into the sheet module.

Private Sub Worksheet_Change(ByVal Target As Range)
'retain formatting when a cell or cells is/are copied over
Dim myValue
With Application
.EnableEvents = False
myValue = Target.Value
.Undo
Target = myValue
.EnableEvents = True
End With
End Sub


Gord Dibben MS Excel MVP

On Wed, 6 Jun 2007 04:51:01 -0700, Mr. Low
wrote:

Dear Sir,

I have successfully default every new worksheet I open with blue color MS
San Serif 8 pt font. Any direct data entry to this worksheet will have this
font default.

But whenever I copy some data with other font types and paste it to the
worksheet, the default font settings does not apply.

I need to reset the font to my default each time I paste the data from other
sources.

Is there a way to enable the pasted data to follow my default font ?


Thanks

Low


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
Excel 2002: Can I default font color for every new file created ? Mr. Low Excel Discussion (Misc queries) 7 March 29th 07 07:11 PM
Pictures pasted as bitmap don't appear in Excel 2002 [email protected] Excel Discussion (Misc queries) 0 March 12th 07 12:00 PM
Changed default font, previous font still shows when editing Font/Editing Problem Excel Discussion (Misc queries) 1 May 19th 06 12:46 PM
Changed default font, previous font still shows when editing Font/Editing Problem Excel Discussion (Misc queries) 0 May 18th 06 04:37 PM
Borders do not need to be pasted, this should be the default posi. hanitam Excel Discussion (Misc queries) 3 June 23rd 05 02:58 AM


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