+ Reply to Thread
Results 1 to 3 of 3

range selection error

  1. #1
    Registered User
    Join Date
    09-06-2013
    Location
    santiago
    MS-Off Ver
    Excel 2007
    Posts
    15

    range selection error

    hey all,
    i am using activeX chcekboxes to determinewhat text will be inserten in a column. I have a macro to insert text (see below) that works. and then a macro tu delete it when the chcekbox gets unticked (see below) that works too. As long as they are separeted. Once i combine them as one code for the chceckbox (see below) i get a range selection error. What am i doing wrong? any suggestions? Many thanks. .xls attached


    insert
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    combinado
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by daniva92; 09-12-2013 at 09:44 AM.

  2. #2
    Forum Contributor
    Join Date
    03-17-2005
    Location
    Canterbury, Kent
    MS-Off Ver
    2003, 2010
    Posts
    285

    Re: range selection error

    See attached

    I have made it so that when the checkbox is selected/deselected it calls the appropriate macro.

    Windy
    Attached Files Attached Files

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: range selection error

    Not quite sure what some of the code is meant to do, for example which sheet you are doing this on.

    Please Login or Register  to view this content.
    Anyway, give this a try.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

+ 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] Range(Selection, Selection.End(xlDown)).Select goes to 65536 instead of last filled row
    By looney in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-12-2013, 10:51 AM
  2. [SOLVED] Runtime Error '91': Object variable... When Running in Range Selection
    By Stonesteel15 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-01-2012, 09:50 AM
  3. Error on range selection in macro
    By Carlsbergen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-11-2010, 06:03 AM
  4. Runtime Error '1004' At Range Selection
    By Anubeon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2009, 10:47 AM
  5. Range Selection Error
    By emadden in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-09-2009, 09:49 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