+ Reply to Thread
Results 1 to 3 of 3

Method 'range' of object'_global' failed

  1. #1
    Registered User
    Join Date
    10-09-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    78

    Method 'range' of object'_global' failed

    I am trying to finish my login form and have used this code for the button so that it looks up what accounts are in the workbook and checks if there is a match to what the user has entered as their password and username. Unfortunately part of my code is being flagged up and i cant figure out what is wrong. It is telling me that the VLookup is the problem but I am unsure why. Here is my code and my workbook:

    Login Prototype.xlsm

    Please Login or Register  to view this content.
    Last edited by mdovey; 10-12-2013 at 02:57 PM.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Method 'range' of object'_global' failed

    substitute all “ ” with "
    Last edited by patel45; 10-12-2013 at 02:55 PM.
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    10-09-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    78

    Re: Method 'range' of object'_global' failed

    Thank you very much

+ 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. method range of object _global failed
    By ker9 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2013, 03:45 PM
  2. method 'range' of object'_global' failed
    By cedtech23 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-30-2012, 07:31 PM
  3. Method 'range' of object '_global' failed.
    By johnmerlino in forum Excel General
    Replies: 3
    Last Post: 02-25-2011, 03:07 PM
  4. Method 'range' of object'_Global' failed
    By derekteo0710 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-17-2010, 05:18 AM
  5. [SOLVED] method 'range' of object '_global' failed
    By Schades in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-26-2005, 09:05 PM

Tags for this Thread

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