+ Reply to Thread
Results 1 to 6 of 6

Hide Details Command Rows(1).ShowDetail = False does not work

  1. #1
    Registered User
    Join Date
    12-05-2016
    Location
    Berlin
    MS-Off Ver
    2013
    Posts
    3

    Hide Details Command Rows(1).ShowDetail = False does not work

    Hey guys,

    I am facing issues with a simple macro.

    I wanted to include a code into my VBA code which hides the details of the group (not hiding a row but "pressing the minus button").
    However, it didn't work. To ensure that it is not a problem with my code or the file, I opened a complete new empty MS Excel 2013 sheet and used just the simple line I found frequently on the internet:
    Please Login or Register  to view this content.
    And I got an error and the debugger marked the line.

    I am using Excel 2013. It is a German license but the language is English. I had an issue with the number codes in Excel once (no VBA), where the numbers where not displayed properly until I changed all , for .

    Looking forward to hear your experiences and suggestions.
    Last edited by NoBody2025; 12-06-2016 at 04:12 AM.

  2. #2
    Forum Contributor
    Join Date
    08-25-2014
    Location
    Pennsylvania, US
    MS-Off Ver
    Windows '16
    Posts
    165

    Re: Simple Macro does not work

    Hi - try this...

    Rows("7:7").EntireRow.Hidden = True

  3. #3
    Registered User
    Join Date
    12-05-2016
    Location
    Berlin
    MS-Off Ver
    2013
    Posts
    3

    Re: Simple Macro does not work

    But if I hide it it will not be the same as hiding details, right?

    So the user cannot open it by clicking on the + buttons?

  4. #4
    Forum Contributor
    Join Date
    08-25-2014
    Location
    Pennsylvania, US
    MS-Off Ver
    Windows '16
    Posts
    165

    Re: Simple Macro does not work

    Sorry, you're right. I was suggesting hiding but you need to group. I just searched around Google and it seems others have the same issue. I can not find a solution yet.

  5. #5
    Administrator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Win 11 Home 64 Bit
    Posts
    21,699

    Re: Simple Macro does not work

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Alan


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Registered User
    Join Date
    12-05-2016
    Location
    Berlin
    MS-Off Ver
    2013
    Posts
    3

    Re: Hide Details Command Rows(1).ShowDetail = False does not work

    I am sorry. I edited the title. Problem is still there...

+ 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] Unable to replicate simple macro process/unable to compose simple copy paste macro
    By MattRNR in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-06-2015, 04:51 AM
  2. simple copy paste macro dosen't always work???
    By mannicm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-22-2013, 04:39 PM
  3. Extremely simple macro wont work
    By tanewha69 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-31-2006, 05:53 PM
  4. Why doesn't my simple macro work?
    By Tibbs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-01-2006, 10:56 AM
  5. Simple but I can't get it to work? PLEASE help!!
    By Naji in forum Excel General
    Replies: 6
    Last Post: 01-11-2006, 06:30 PM
  6. Its so simple! Why won't it work!
    By Kevin O'Neill in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-09-2005, 07:10 PM
  7. [SOLVED] Simple Macro, works in Excel 2002, 2003 but won't work in 2000
    By DJA in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-28-2005, 01:05 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