Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Can you prevent Copy-Paste from changing formatting without macros

€¦specifically, in a worksheet that is protected, with only "select unlocked
cells" granted to users.

The situation: the users are not granted €śformat cells€ť, which has been
confirmed by attempting to manually apply bold, italic, or border changes.
The sheet is created from an Excel template that has all of the intended
formatting and protection in place.

Observed behavior: if a user pastes into an unlocked cell, the formatting of
the cell is overwritten with the formatting of the source. This has been
observed on several versions of Excel, including XP, 2003, and 2007.

The current environment requires that there be no macros, so are we stuck
with this quirky paste behavior unless/until macros are allowed?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Can you prevent Copy-Paste from changing formatting without macros

hi
i have never accually dealt with your situation before and can't duplicate
your situation but.... have you tried editpaste special?????
there are a number of options other than paste all.

regards
FSt1

"DCramlet" wrote:

€¦specifically, in a worksheet that is protected, with only "select unlocked
cells" granted to users.

The situation: the users are not granted €śformat cells€ť, which has been
confirmed by attempting to manually apply bold, italic, or border changes.
The sheet is created from an Excel template that has all of the intended
formatting and protection in place.

Observed behavior: if a user pastes into an unlocked cell, the formatting of
the cell is overwritten with the formatting of the source. This has been
observed on several versions of Excel, including XP, 2003, and 2007.

The current environment requires that there be no macros, so are we stuck
with this quirky paste behavior unless/until macros are allowed?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Can you prevent Copy-Paste from changing formatting without ma

Sorry, I forgot the repro steps.

"Paste Special..." works, which is expected since it works even if the sheet
isnt protected, but that requires users, that do not use Excel every day in
this case, to never hit Ctrl-V (or Shift-Insert). It seems like the
protection is failing in the specific case of Paste.

1. Open Excel to a new, blank workbook.
2. Format Cell on A1
3. Set the font to Arial, Bold Italic, 12
4. Set the border to double-line outline
5. Set the protection, locked to unchecked
6. Click OK
7. Format Cell on C3
8. Set the font to Times New Roman, Normal, 8
9. Set the border to dotted, top and bottom
10. Set the protection, locked to unchecked
11. Click OK
12. Protect Sheet, clearing all options except €śProtect worksheet€¦€ť and
€śSelect unlocked cells€ť
13. Enter €śTest 1€ť in A1
14. Enter €śTest 2€ť in C3
15. Attempt to format A1 and C3; observe that all formatting options are
disabled
16. Copy A1 and Paste in C3; observe that formatting of C3 is overwritten
17. Attempt to format A1 and C3; observe that all formatting options are
still disabled

"FSt1" wrote:

hi
i have never accually dealt with your situation before and can't duplicate
your situation but.... have you tried editpaste special?????
there are a number of options other than paste all.

regards
FSt1

"DCramlet" wrote:

€¦specifically, in a worksheet that is protected, with only "select unlocked
cells" granted to users.

The situation: the users are not granted €śformat cells€ť, which has been
confirmed by attempting to manually apply bold, italic, or border changes.
The sheet is created from an Excel template that has all of the intended
formatting and protection in place.

Observed behavior: if a user pastes into an unlocked cell, the formatting of
the cell is overwritten with the formatting of the source. This has been
observed on several versions of Excel, including XP, 2003, and 2007.

The current environment requires that there be no macros, so are we stuck
with this quirky paste behavior unless/until macros are allowed?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Can you prevent Copy-Paste from changing formatting without macros

Did you ever find a solution...I'm experiencing the same problem. The
copy/paste feature would never actually be needed in my worksheet, but if
someone accidentally pastes to one of the unlocked cells... it changes the
format of that cell and "breaks" the whole worksheet.

"DCramlet" wrote:

€¦specifically, in a worksheet that is protected, with only "select unlocked
cells" granted to users.

The situation: the users are not granted €śformat cells€ť, which has been
confirmed by attempting to manually apply bold, italic, or border changes.
The sheet is created from an Excel template that has all of the intended
formatting and protection in place.

Observed behavior: if a user pastes into an unlocked cell, the formatting of
the cell is overwritten with the formatting of the source. This has been
observed on several versions of Excel, including XP, 2003, and 2007.

The current environment requires that there be no macros, so are we stuck
with this quirky paste behavior unless/until macros are allowed?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Can you prevent Copy-Paste from changing formatting without ma

No; unfortunately, I have yet to find a means to effectively force something
akin to "Paste Unformatted Text" without using macros.

It really does seem like a bug, based on how I interpret the cell locking
feature. In case any reader missed them, the steps to reproduce the behavior
I'm seeing are in my first reply to FSt1.

"BMac" wrote:

Did you ever find a solution...I'm experiencing the same problem. The
copy/paste feature would never actually be needed in my worksheet, but if
someone accidentally pastes to one of the unlocked cells... it changes the
format of that cell and "breaks" the whole worksheet.

"DCramlet" wrote:

€¦specifically, in a worksheet that is protected, with only "select unlocked
cells" granted to users.

The situation: the users are not granted €śformat cells€ť, which has been
confirmed by attempting to manually apply bold, italic, or border changes.
The sheet is created from an Excel template that has all of the intended
formatting and protection in place.

Observed behavior: if a user pastes into an unlocked cell, the formatting of
the cell is overwritten with the formatting of the source. This has been
observed on several versions of Excel, including XP, 2003, and 2007.

The current environment requires that there be no macros, so are we stuck
with this quirky paste behavior unless/until macros are allowed?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default Can you prevent Copy-Paste from changing formatting without ma

This behavior is a serious limitation when using highly formatted worksheets.
With one step the user can trash the formatting even on protected worksheets.
I have a worksheet where I lock the cells except where I want to allow data
entry. I also disable 'Select Locked cells'. But in this mode I must leave
the data entry cells unlocked.

I have cells that have the background set and the formatting also gets
trashed if you use a 'Cut' of cells.

Is there a way, even with macros, to prevent the formatting from being
trashed by a cut and paste?

If not, I'm hearing that there is no way to prevent the formatting from
being trashed when you must have locked and unlocked cells.

No; unfortunately, I have yet to find a means to effectively force something
akin to "Paste Unformatted Text" without using macros.

It really does seem like a bug, based on how I interpret the cell locking
feature. In case any reader missed them, the steps to reproduce the behavior
I'm seeing are in my first reply to FSt1.

"BMac" wrote:

Did you ever find a solution...I'm experiencing the same problem. The
copy/paste feature would never actually be needed in my worksheet, but if
someone accidentally pastes to one of the unlocked cells... it changes the
format of that cell and "breaks" the whole worksheet.

"DCramlet" wrote:

€¦specifically, in a worksheet that is protected, with only "select unlocked
cells" granted to users.

The situation: the users are not granted €śformat cells€ť, which has been
confirmed by attempting to manually apply bold, italic, or border changes.
The sheet is created from an Excel template that has all of the intended
formatting and protection in place.

Observed behavior: if a user pastes into an unlocked cell, the formatting of
the cell is overwritten with the formatting of the source. This has been
observed on several versions of Excel, including XP, 2003, and 2007.

The current environment requires that there be no macros, so are we stuck
with this quirky paste behavior unless/until macros are allowed?

  #7   Report Post  
Junior Member
 
Posts: 15
Default

I am facing the same issue of trying to control the copy and paste problem.
There is just no solution to this.

Rather, I have yet to find a solution to stop the users from changing the formatting of a cell.

I have conditional formatting included in the cells and once the copy and paste thing happened, my whole formatting is gone.

And no macro allowed. I saw some postings in the Internet stating that macro has its limitation also.

It appears to me that this is an unresolved issue for Excel.
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
Macros to copy and paste data Migyu Excel Discussion (Misc queries) 1 August 26th 08 01:25 PM
Problem with copy and paste together with macros Camper Joe Excel Worksheet Functions 2 August 24th 06 05:24 PM
Prevent changing size when copy&paste into another Excel Worksheet Michelle Excel Worksheet Functions 0 June 26th 06 04:30 PM
Copy and Paste Macros dickives Excel Discussion (Misc queries) 0 January 20th 06 08:49 PM
prevent the copy and paste function sir Lancelot Excel Discussion (Misc queries) 1 December 8th 05 01:16 AM


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