+ Reply to Thread
Results 1 to 3 of 3

Invalid Reference

  1. #1
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Invalid Reference

    I have the below but it states "invalid/unqualified reference" when I try and run it with the code in red below:

    Please Login or Register  to view this content.
    If I change my code to this (removing the "." in red above) then I get an invalid call procedure:

    Please Login or Register  to view this content.
    Last edited by ScabbyDog; 12-01-2016 at 03:50 AM.

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Invalid Reference

    Hi,

    Cells requires a row and column index, not an address. You can simply replace Cells with Range thus
    Please Login or Register  to view this content.
    Last edited by xlnitwit; 12-01-2016 at 04:12 AM. Reason: typo
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Invalid Reference

    You have with and you closed it early.

    Please Login or Register  to view this content.
    Last edited by AB33; 12-01-2016 at 04:11 AM.

+ 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] Invalid or unqualified reference
    By michelle 1 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-22-2013, 08:11 AM
  2. Invalid Reference error
    By MasonGrey in forum Excel General
    Replies: 4
    Last Post: 12-27-2012, 06:29 PM
  3. Invalid reference error in VBA
    By ConneXionLost in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-26-2010, 06:15 PM
  4. Invalid or Unqualified Reference
    By dcompagnone in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-13-2010, 08:45 AM
  5. Replies: 3
    Last Post: 05-13-2009, 11:51 PM
  6. Invalid cell reference
    By minkus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-21-2008, 06:24 PM
  7. How do I fix an Invalid Reference?
    By Nic in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-01-2006, 11:50 AM
  8. [SOLVED] Another invalid or unqualified reference
    By davegb in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 08-31-2005, 02:05 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