+ Reply to Thread
Results 1 to 4 of 4

Object Required...

  1. #1
    Registered User
    Join Date
    04-04-2015
    Location
    Vancouver, Canada
    MS-Off Ver
    Office 365
    Posts
    88

    Object Required...

    Please Login or Register  to view this content.
    It says object required.. What am I missing?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Object Required...

    You don't use the Set keyword in assigning a scalar varaible -- it's only used to assign objects. So

    Please Login or Register  to view this content.
    ... and Let is optional, so

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: Object Required...

    You're trying to set a variable for holding numbers as a range. Try removing Set

    aRank = Mid(Cells(6, 2).Value, 1, 1)

  4. #4
    Registered User
    Join Date
    04-04-2015
    Location
    Vancouver, Canada
    MS-Off Ver
    Office 365
    Posts
    88

    Re: Object Required...

    Ok thank you, it works now

+ 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. Object Required
    By lch93lily in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-01-2014, 01:20 AM
  2. Name.Object (Error Object Required)
    By dssrun209 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2010, 01:38 PM
  3. 424 Object Required
    By edojan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-03-2008, 04:20 PM
  4. [SOLVED] Object Required
    By Patrick Simonds in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-05-2006, 03:15 AM
  5. Object required?
    By Tony in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2005, 01:06 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