+ Reply to Thread
Results 1 to 3 of 3

Select Method failing

  1. #1
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    Select Method failing

    Dear Forum Members,
    I have some VBA code which has been working for a week or two but which now throws up the following message. "Select method of Range Class failed" The code is
    Please Login or Register  to view this content.
    ".range("T4").Select " was the line highlighted but the remd out lines also gave the same message.
    I am at a loss as to what could have caused this change with such a simple piece of code.
    The worksheet is not protected. I had been improving the code in other areas of the project, so I must have changed something, but what should I be looking for?
    Help Please
    John
    Last edited by j_Southern; 03-18-2011 at 05:36 AM.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Select Method failing

    Hi j_Southern
    the with replaces the need for select or selection
    Please Login or Register  to view this content.
    Last edited by pike; 03-18-2011 at 05:36 AM.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    Re: Select Method failing

    Pike,
    Many thanks for your help. New code works fine.
    John

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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