+ Reply to Thread
Results 1 to 6 of 6

error 1004 when hide/unhide rows using activex multiple combobox

  1. #1
    Registered User
    Join Date
    06-18-2017
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    6

    error 1004 when hide/unhide rows using activex multiple combobox

    Hi All,
    I am encountering error 1004- Unable to set the Hidden property of the Range class. I can’t understand why it’s happening.
    What I am trying to do:
    ComboBox1 will hide and unhide rows from 6 to 24 depending on the selection
    Select 1: row 6 shows, rows 7-24 hide
    Select 2: rows 6-7 show, rows 8-24 hide
    Select 3: rows 6-8 show, rows 9.24 hide
    ‘etc
    ComboBox2 will hide and unhide rows from 33 to 37
    ComboBox3 will hide and unhide rows from 42 to 48
    ComboBox4 will hide and unhide rows from 52 to 62

    I have attached the file. Please help!
    Thank you in advance
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: error 1004 when hide/unhide rows using activex multiple combobox

    Um....there is no code in the attached workbook.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Registered User
    Join Date
    06-18-2017
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    6

    Re: error 1004 when hide/unhide rows using activex multiple combobox

    My apologies, I have attached file again.
    Thank you for your help
    Attached Files Attached Files

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: error 1004 when hide/unhide rows using activex multiple combobox

    Can you post the code here. The last file you attached doesn't have any code either.

  5. #5
    Registered User
    Join Date
    06-18-2017
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    6

    Re: error 1004 when hide/unhide rows using activex multiple combobox

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    06-18-2017
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    6

    Re: error 1004 when hide/unhide rows using activex multiple combobox

    Can anyone help please?

+ 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] Hide and Unhide a Combobox based on Criteria met in another Combobox
    By BONCH in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-29-2017, 08:13 PM
  2. [SOLVED] HIDE UNHIDE Button in VBA ActiveX
    By dactor in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-21-2016, 08:46 AM
  3. [SOLVED] Unexplainable Run-time error 1004 from hide/unhide rows code
    By L plates in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-20-2015, 04:26 AM
  4. [SOLVED] VBA Userform with ComboBox to Hide/Unhide Rows
    By leecook in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 08-01-2013, 03:50 AM
  5. [SOLVED] HIde/Unhide rows not equal to a value from a combobox (Active X)
    By marygem in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-17-2012, 05:38 AM
  6. [SOLVED] How VB code can unhide/hide rows based on combobox selection?
    By jgomez in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-04-2012, 01:25 PM
  7. Hide and unhide rows based on combobox
    By pkling in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2010, 03:25 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