+ Reply to Thread
Results 1 to 23 of 23

Copy worksheet from one WB to another, overwrite existing worksheet with same CodeName

Hybrid View

  1. #1
    Registered User
    Join Date
    08-09-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Copy worksheet from one WB to another, overwrite existing worksheet with same CodeName

    Ok, so apparently I am an idiot.
    The worksheet is protected, therefore I had to unprotect it, then copy it over, then protect it again.

    I had that in my previous code, but when I applied the OnTime method from the sample files I forgot to add that one line. Blargh.

    I need some fresh air...

    [Edit]And damn you for being so fast and helpful, Richard! I was just going to delete my last post to hide my stupidity, but you already saw it. lol.[/edit]

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Copy worksheet from one WB to another, overwrite existing worksheet with same CodeName

    Been there: got the T-shirt
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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