+ Reply to Thread
Results 1 to 3 of 3

Invalid Qualifier to a Valid Qualifier (Application)

  1. #1
    Registered User
    Join Date
    10-12-2012
    Location
    Philippines
    MS-Off Ver
    MSO 2013
    Posts
    15

    Invalid Qualifier to a Valid Qualifier (Application)

    Hi All,

    This is puzzling me:

    Please Login or Register  to view this content.
    The code above yields me this error >>> Compile Error: Invalid Qualifier

    Please Login or Register  to view this content.
    If I changed it to the one above, I'm getting this >>> Run-time error '91': Object variable or With block variable not set


    I tried restarting excel (closing all workbooks and opening one back) then rerun. I am still getting the same error.

    How do you think this is so?

    Thanks a lot!

  2. #2
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: Invalid Qualifier to a Valid Qualifier (Application)

    for the second code, you need to Set oApp to the Excel.Application

    Please Login or Register  to view this content.
    Click on the star if you think I helped you

  3. #3
    Registered User
    Join Date
    10-12-2012
    Location
    Philippines
    MS-Off Ver
    MSO 2013
    Posts
    15

    Re: Invalid Qualifier to a Valid Qualifier (Application)

    Quote Originally Posted by adyteo View Post
    for the second code, you need to Set oApp to the Excel.Application

    Please Login or Register  to view this content.
    I've tested it --- works! Thanks a lot!

+ 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 Qualifier
    By DrowingInVBA in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-18-2013, 12:53 PM
  2. [SOLVED] Invalid Qualifier
    By Antares19 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-03-2012, 08:48 AM
  3. Can you identify the invalid qualifier?
    By JustinMAS in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-22-2008, 12:29 PM
  4. Compiler says "Invalid qualifier" when using Application object
    By Eric in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-29-2005, 09:05 PM
  5. [SOLVED] Invalid Qualifier
    By Stuart in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-21-2005, 11:06 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