Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default I want paste / fill to NOT copy cell formatting

When you use either copy/paste or fill to copy data, the cell formatting also
gets copied. I don't mind the number formats being used, but it is extremely
annoying that other formatting such as boarders and shading gets copied too.

I have my formatting done the way I need it, but at times I need to update
the data. I do this using paste or fill. Then my formatting gets all messed
up and I spend all kinds of time fixing it.

I know I can use Paste special to just paste the data but this is a pain to
have to use every time I paste. I want Paste Special/Formulas Only to be the
Default behaviour for paste. How can I make this happen? The same for the
Fill command. I want it by default to only fill formulas, not formatting.

Is it just me, or is this different in Office 2007 than it was in Office
2003???
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default I want paste / fill to NOT copy cell formatting

Excel 2003 default is not "Formulas" so there is no difference between versions.

How about a macro assigned to a button on a Toolbar or whereever they get placed
in 2007?

Sub copy_no_change()
Dim rng1 As Range
Dim rng2 As Range
Set rng1 = Selection
Set rng2 = Application.InputBox(prompt:= _
"Select Any Cell to paste to", Type:=8)
rng2.Resize(rng1.Rows.Count, rng1.Columns.Count).Formula _
= rng1.Formula
End Sub

Note: only works with contiguous copy range.


Gord Dibben MS Excel MVP

On Thu, 10 Jan 2008 13:56:02 -0800, TDS_Eric
wrote:

When you use either copy/paste or fill to copy data, the cell formatting also
gets copied. I don't mind the number formats being used, but it is extremely
annoying that other formatting such as boarders and shading gets copied too.

I have my formatting done the way I need it, but at times I need to update
the data. I do this using paste or fill. Then my formatting gets all messed
up and I spend all kinds of time fixing it.

I know I can use Paste special to just paste the data but this is a pain to
have to use every time I paste. I want Paste Special/Formulas Only to be the
Default behaviour for paste. How can I make this happen? The same for the
Fill command. I want it by default to only fill formulas, not formatting.

Is it just me, or is this different in Office 2007 than it was in Office
2003???


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default I want paste / fill to NOT copy cell formatting

Thanks. I can create a macro that activates the Paste Special command. It
does work.
But, there are two problems.

First, the undo command is unavailable after using the macro. So, in other
words if I paste something in the wrong place by accident or whatever, I
don't have an undo option. That is pretty bad.

Second, it doesn't take care of the Fill command. I could create a macro
that does basically the same thing, but then I run into the undo problem
again.

Is there no way to lock the formatting? Using the "Protect sheet" stuff
doesn't work for many reasons.

Thanks again.


"Gord Dibben" wrote:

Excel 2003 default is not "Formulas" so there is no difference between versions.

How about a macro assigned to a button on a Toolbar or whereever they get placed
in 2007?

Sub copy_no_change()
Dim rng1 As Range
Dim rng2 As Range
Set rng1 = Selection
Set rng2 = Application.InputBox(prompt:= _
"Select Any Cell to paste to", Type:=8)
rng2.Resize(rng1.Rows.Count, rng1.Columns.Count).Formula _
= rng1.Formula
End Sub

Note: only works with contiguous copy range.


Gord Dibben MS Excel MVP

On Thu, 10 Jan 2008 13:56:02 -0800, TDS_Eric
wrote:

When you use either copy/paste or fill to copy data, the cell formatting also
gets copied. I don't mind the number formats being used, but it is extremely
annoying that other formatting such as boarders and shading gets copied too.

I have my formatting done the way I need it, but at times I need to update
the data. I do this using paste or fill. Then my formatting gets all messed
up and I spend all kinds of time fixing it.

I know I can use Paste special to just paste the data but this is a pain to
have to use every time I paste. I want Paste Special/Formulas Only to be the
Default behaviour for paste. How can I make this happen? The same for the
Fill command. I want it by default to only fill formulas, not formatting.

Is it just me, or is this different in Office 2007 than it was in Office
2003???



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default I want paste / fill to NOT copy cell formatting

Without a macro you're stuck with the Paste SpecialFormulas

Have a llok at John Walkenbach's site for an Undo routine.

http://www.j-walk.com/ss/excel/tips/tip23.htm


Gord

On Thu, 10 Jan 2008 17:00:23 -0800, TDS_Eric
wrote:

Thanks. I can create a macro that activates the Paste Special command. It
does work.
But, there are two problems.

First, the undo command is unavailable after using the macro. So, in other
words if I paste something in the wrong place by accident or whatever, I
don't have an undo option. That is pretty bad.

Second, it doesn't take care of the Fill command. I could create a macro
that does basically the same thing, but then I run into the undo problem
again.

Is there no way to lock the formatting? Using the "Protect sheet" stuff
doesn't work for many reasons.

Thanks again.


"Gord Dibben" wrote:

Excel 2003 default is not "Formulas" so there is no difference between versions.

How about a macro assigned to a button on a Toolbar or whereever they get placed
in 2007?

Sub copy_no_change()
Dim rng1 As Range
Dim rng2 As Range
Set rng1 = Selection
Set rng2 = Application.InputBox(prompt:= _
"Select Any Cell to paste to", Type:=8)
rng2.Resize(rng1.Rows.Count, rng1.Columns.Count).Formula _
= rng1.Formula
End Sub

Note: only works with contiguous copy range.


Gord Dibben MS Excel MVP

On Thu, 10 Jan 2008 13:56:02 -0800, TDS_Eric
wrote:

When you use either copy/paste or fill to copy data, the cell formatting also
gets copied. I don't mind the number formats being used, but it is extremely
annoying that other formatting such as boarders and shading gets copied too.

I have my formatting done the way I need it, but at times I need to update
the data. I do this using paste or fill. Then my formatting gets all messed
up and I spend all kinds of time fixing it.

I know I can use Paste special to just paste the data but this is a pain to
have to use every time I paste. I want Paste Special/Formulas Only to be the
Default behaviour for paste. How can I make this happen? The same for the
Fill command. I want it by default to only fill formulas, not formatting.

Is it just me, or is this different in Office 2007 than it was in Office
2003???




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
How to copy and paste conditional formatting for the cell next to Kyle Excel Discussion (Misc queries) 4 July 19th 07 08:32 PM
copy/paste want to retain cell coloration but lose the conditional formatting source data Keith R Excel Discussion (Misc queries) 6 March 5th 07 09:10 PM
Why don't Excel formulas translate in copy/paste or fill down? Janunson Excel Discussion (Misc queries) 3 November 9th 06 03:28 PM
ROUNDUP copy/paste and fill handle not working Jason Southco Excel Worksheet Functions 1 October 10th 05 05:41 PM
Copy Paste Conditional Formatting Bud Hughes Excel Discussion (Misc queries) 6 October 1st 05 02:33 PM


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