+ Reply to Thread
Results 1 to 1 of 1

Copy one sheet to another one is protected the other is not

  1. #1
    Forum Contributor
    Join Date
    01-16-2009
    Location
    Ill.
    MS-Off Ver
    Excel 2010
    Posts
    190

    Copy one sheet to another one is protected the other is not

    Hello - - I was hoping for some assistance with my task. I have a folder (W:\employee data\YE\DirAndAbove\) that contains about 100 workbooks. One worksheet each. All of the worksheets are the same, formatting and formulas. The only difference between the the workbooks would be the amount of rows of data, some would have 5 rows (starting in row 10), some may have 50. The first 10 rows have calcs and summary info based on the detail data What I'd like to do is have VBA code:

    Open each workbook (one at a time)
    Copy the one sheet to another sheet, name this new sheet 'sandbox'
    Protect the original sheet - allowing for edits to cells H10 to H50 and L10 to L50.
    Close this workbook and open the next, repeat..

    All forumulas and formats should be copied as well.

    Can someone out there in excel-guru land help me with a some vba examples? Thanks for reading! I'm attaching an example of a workbook that I'm referring too, it was modified so some of the formulas are gone, etc.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Copy protected sheet to a NEW workbook that is not protected
    By lsteinbach in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-14-2012, 11:50 AM
  2. copy data INTO a protected sheet
    By HP RodNuclear in forum Excel General
    Replies: 2
    Last Post: 11-22-2010, 11:15 AM
  3. Protected Sheet not protected from Copy Paste
    By twistedsymphony in forum Excel General
    Replies: 4
    Last Post: 04-19-2010, 05:37 PM
  4. How to Copy a Formatted Row into a Protected Sheet
    By llenger1 in forum Excel General
    Replies: 0
    Last Post: 04-03-2010, 10:20 AM
  5. [SOLVED] Copy from Protected sheet
    By Rao Ratan Singh in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-08-2006, 02:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1