Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Paste function without affect locked cells

Dear all

i am working in excel xp edition
i have three spreadsheets, which are locked. Only the sheets, not the
workbook.
Imagine that in the sheets are locked the lines 100, 200 210 and 250, only,
which are containing sum formulas

Also those lines are locked from A to T.
So when the end user who fills the data try to copy data from column Z which
is unlocked to column M for example he is not allowed to do it because some
of the cells are locked.

There is any possibilty, by using visual basic to make a function where when
the user makes the copy and then procceed to the paste function the cells
that are not locked to get the values from the paste and the protected
cells not to be affected?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Paste function without affect locked cells

There is any possibilty, by using visual basic to make a function...

Yes, but you would have to make your own substitute Copy and substitute
Paste function in VB. And use Onkey to replace Ctrl-c and Ctrl-v, and
replace the Edit menu functions. Quite a hassle...

--
Jim
"Manos" wrote in message
...
| Dear all
|
| i am working in excel xp edition
| i have three spreadsheets, which are locked. Only the sheets, not the
| workbook.
| Imagine that in the sheets are locked the lines 100, 200 210 and 250,
only,
| which are containing sum formulas
|
| Also those lines are locked from A to T.
| So when the end user who fills the data try to copy data from column Z
which
| is unlocked to column M for example he is not allowed to do it because
some
| of the cells are locked.
|
| There is any possibilty, by using visual basic to make a function where
when
| the user makes the copy and then procceed to the paste function the cells
| that are not locked to get the values from the paste and the protected
| cells not to be affected?
|
|


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
Locked worksheet & hyperlinks (w/ select locked cells unchecked) dgold82 Excel Discussion (Misc queries) 1 July 10th 09 09:42 PM
Locked Cells and Copy/Paste ORafiei Excel Worksheet Functions 0 May 22nd 07 09:52 PM
paste locked cells and unlocked cells in protected sheet Angeline Excel Worksheet Functions 15 November 1st 06 11:51 PM
Can you paste to protected spreadsheet and skip over locked cells? Webmonk Excel Discussion (Misc queries) 1 October 12th 06 07:10 PM
conditional formats affect other cells golden322 Excel Discussion (Misc queries) 8 January 22nd 06 10:22 PM


All times are GMT +1. The time now is 11:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"