+ Reply to Thread
Results 1 to 3 of 3

How can I resolve this Run-Time error '1004': Method 'Range' of object '_Worksheet' failed

  1. #1
    Registered User
    Join Date
    08-26-2013
    Location
    Missouri
    MS-Off Ver
    Excel 2007
    Posts
    10

    How can I resolve this Run-Time error '1004': Method 'Range' of object '_Worksheet' failed

    I'm working on code to printout deposit slips
    but I keep getting an error
    Run-Time error '1004':
    Method 'Range' of object '_Worksheet' failed

    Debug places focus on "
    Please Login or Register  to view this content.
    "

    Any thoughts? What am I missing?
    Thanks
    Steve

    Please Login or Register  to view this content.
    and here is PrintByName
    Please Login or Register  to view this content.
    Last edited by dafella; 09-02-2013 at 08:31 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: What is wrong with my code?

    may i check you sheet please......



    REgards
    CA mahaveer Somani

  3. #3
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,523

    Re: What is wrong with my code?

    What is wrong with my code?
    I'd say one or more of the Group1, Group2... named ranges you're referring to either don't exist or are corrupt.

    Please also consider renaming your thread title to somthing more searchaable friendly.

    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

+ 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. what is wrong with this code- error from vba code
    By punna111 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-14-2013, 03:14 PM
  2. Code for email alerts from excel isn't working, wrong code possibly?
    By jessthorogood in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2012, 01:45 AM
  3. Wrong line of code banned me out and can't access vba code...
    By albertc in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-14-2012, 02:41 PM
  4. What's wrong with my code ?
    By christophe meresse in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  5. What's wrong with this code???
    By Twain in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-01-2005, 10:02 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