+ Reply to Thread
Results 1 to 4 of 4

Script not copying data from "Emails" sheet to "New Sheet" - Run time error: Object

  1. #1
    Registered User
    Join Date
    02-15-2014
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    13

    Script not copying data from "Emails" sheet to "New Sheet" - Run time error: Object

    I am currently working on a script that will copy some data from one sheet to another, but I keep getting the following error message:

    Run time error: Object required
    at

    Set uRng = .Range("F1", .Range("F" & .Rows.Count).End(xlUp))
    What could be causing it?

    Code below:

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,404

    Re: Script not copying data from "Emails" sheet to "New Sheet" - Run time error: Object

    Try:

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Script not copying data from "Emails" sheet to "New Sheet" - Run time error: Object

    Emails is nothing.

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    02-15-2014
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Script not copying data from "Emails" sheet to "New Sheet" - Run time error: Object

    Quote Originally Posted by zbor View Post
    Try:

    Please Login or Register  to view this content.
    It doesn't work - I managed to remediate this problem by doing the following but the data won't copy to a new spreadsheet:

    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)

Similar Threads

  1. [SOLVED] Code that copies row of data to another sheet based on text "Complete"/"Delete"
    By Dremzy in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 04-20-2014, 05:51 PM
  2. Replies: 2
    Last Post: 04-20-2014, 11:18 AM
  3. Replies: 3
    Last Post: 05-31-2013, 05:16 AM
  4. Error msgs: "Object varible or with block variable not set"; "subscript out of range"
    By menyanthe in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-26-2009, 04:58 PM
  5. [SOLVED] What is Error "Method "Paste" of object "_Worksheet" failed?
    By vat in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-17-2006, 04:10 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