+ Reply to Thread
Results 1 to 2 of 2

Why can't i copy from an opened workbook without an error??

  1. #1
    Registered User
    Join Date
    04-04-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    27

    Why can't i copy from an opened workbook without an error??

    Hello,

    I am having a problem trying to copy ranges in a specific sheet in an open workbook to the main workbook without activating each sheet individually?

    THIS WORKS

    Please Login or Register  to view this content.
    But this does NOT
    Please Login or Register  to view this content.
    Why can i not directly copy a range without having to activate each sheet?

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Why can't i copy from an opened workbook without an error??

    You can, but you need worksheet references for each instance of Range and Cells.
    Please Login or Register  to view this content.
    Last edited by Norie; 09-25-2014 at 05:00 PM.
    If posting code please use code tags, see here.

+ 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] VBA to copy cell from opened or closed workbook into another workbook
    By megtoma in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-09-2014, 04:22 PM
  2. [SOLVED] Copy a Worksheet from a Closed Workbook to the Current Opened Workbook
    By glennchung in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-28-2014, 12:55 PM
  3. Replies: 0
    Last Post: 04-26-2013, 03:40 AM
  4. Need to Copy Columns from Previous Workbook to Newly Opened Workbook
    By BYizz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-06-2012, 06:33 AM
  5. UDF gives #VALUE! error when workbook opened, but F2/Enter clears it
    By 6StringJazzer in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-03-2011, 04:18 PM

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