Results 1 to 4 of 4

Run time error 1004: Unable to set hidden property of range class

Threaded View

SAVIOBLUEFOX Run time error 1004: Unable... 08-06-2013, 09:45 AM
JasperD Re: Run time error 1004:... 08-06-2013, 09:59 AM
SAVIOBLUEFOX Re: Run time error 1004:... 08-06-2013, 10:28 AM
JasperD Re: Run time error 1004:... 08-06-2013, 10:38 AM
  1. #1
    Registered User
    Join Date
    08-06-2013
    Location
    Dubai
    MS-Off Ver
    Excel 2010
    Posts
    21

    Run time error 1004: Unable to set hidden property of range class

    Hi there,

    I am completely new to VBA coding on Excel (just living off tit-bits from the net) and would need some help.

    Have a sheet wherein BW2 is an Option Button when clicked hides or opens AK: BV. All works fine as long as sheet is unprotected.

    However once sheet is protected, the Option buttons dont function thereby throwng up the error as listed on the subject line.

    Would need some guidance on this please.


    Sub OptionButton12_Click()
        With Columns("AK:BV")
            .Select
           .EntireColumn.Hidden = Not .EntireColumn.Hidden
        End With
    End Sub
    Thanks,
    Saviobluefox
    Last edited by SAVIOBLUEFOX; 08-06-2013 at 10:25 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Run-time error 1004; "Unable to set the Hidden property of the Range Class"
    By danimal_time in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-22-2012, 01:06 PM
  2. Help Please w/ Run-time error '1004' Unable to set the Hidden property of the Range Class
    By ExcelNewbie2534 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2012, 07:38 PM
  3. Error 1004 (unable to set the hidden property of the range class)
    By alex.heng in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2011, 12:45 AM
  4. Run-time error 1004: Unable to set the hidden property of the Range class.
    By seabee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2011, 05:09 PM
  5. Error 1004 Unable to set the Hidden Property of the Range Class
    By nld in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-08-2007, 10:56 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