+ Reply to Thread
Results 1 to 3 of 3

Copy Paste Code not working after adding another area

  1. #1
    Registered User
    Join Date
    04-08-2012
    Location
    Kansas, U.S
    MS-Off Ver
    Excel 2010
    Posts
    93

    Copy Paste Code not working after adding another area

    Hello All

    Have a problem with a code that was working on the Test book.

    The following was written by "nilem" for me and i have been trying to wrap my Novice head around why its no longer working but am just not seeing it.
    I have modified the Source and Destination cells with no errors but as soon as i add another Section to the "arr" it still works but will not copy and paste the new section
    Please Login or Register  to view this content.
    Any Help will be most welcome and if you have a suggestion please try and explain it so this novice can understand Please.

    Thanks
    Aeneren
    Last edited by Aeneren; 05-04-2012 at 11:13 PM.

  2. #2
    Registered User
    Join Date
    04-08-2012
    Location
    Kansas, U.S
    MS-Off Ver
    Excel 2010
    Posts
    93

    Re: Copy Paste Code not working after adding another area

    Hello All

    Ok ive found the problem with the coding and fixed this line
    Please Login or Register  to view this content.
    to this
    Please Login or Register  to view this content.
    and that did allow me to add another section of (RSI)
    but soon as i add antoher section and increase the line to
    Please Login or Register  to view this content.
    then i get the following
    Not defined sheet Airway Drawer
    any ideas please and as always please explain your fixes or sugestions for me still learning.


    Thanks
    Aeneren

  3. #3
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Copy Paste Code not working after adding another area

    from Help: "The lower bound of an array created using the Array function is determined by the lower bound specified with the Option Base statement...", in our case it is zero.
    And try it for a better understanding:
    Please Login or Register  to view this content.

+ 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