LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy data using macro (with worksheet protect)

I have a worksheet where I protect the data from users. I wrote a macro to
unprotect the sheet then copy a selection and then protect the sheet again.
The problem is once the macro protects the sheet it loses the data that was
copied and the highligted copy section disapears. Is there a special way to
copy the data so that it is not lost when I protect the worksheet? Is there a
better way to do this?

Also, I have created several buttons on the worksheet which perform various
macros. Is there any way to put the buttons onto the ribbon or anywhere else
in the workbork besides the sheet itself?
 
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
Help with macro to copy data to a designated worksheet brumanchu Excel Discussion (Misc queries) 1 October 27th 08 06:57 PM
macro to find data and filter it and copy to another worksheet kay Excel Programming 1 October 18th 08 09:30 PM
protect worksheet but allow copy column maijiuli Excel Worksheet Functions 0 March 22nd 07 06:16 PM
Protect Worksheet from Copy Past Trying Hard Excel Discussion (Misc queries) 3 February 11th 06 07:13 PM
How to create a macro to copy data from a column to a row in another worksheet? NewAtExcel Excel Programming 0 January 1st 04 12:38 AM


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