+ Reply to Thread
Results 1 to 6 of 6

VBA To show and hide selection pane

  1. #1
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    919

    VBA To show and hide selection pane

    Hello

    Looking for VBA code that show selection pane if its closed
    and close it if its showing
    Thanks

  2. #2
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: VBA To show and hide selection pane

    Maybe :
    Please Login or Register  to view this content.
    Run it to toggle, on .. off .. on .. off .. on .. off .. .. .. ..
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: VBA To show and hide selection pane

    You can use this to toggle selection pane state

    Please Login or Register  to view this content.
    you can use this to determine state
    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  4. #4
    Forum Contributor
    Join Date
    07-14-2019
    Location
    Dubai
    MS-Off Ver
    2019
    Posts
    919

    Re: VBA To show and hide selection pane

    While I am tring with vba code
    the pane now is not showing
    even when I click it from find
    even also in new file

  5. #5
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: VBA To show and hide selection pane

    Maybe the pane position is out of screen, try to run this code :
    Please Login or Register  to view this content.
    If you click manually by hand, and even trying it on new file, and the pane is not shown, the culprit is not the VBA, but must be something else (e.g. the position of pane, interfere from third party addon, etc).
    Last edited by karedog; 12-31-2022 at 07:33 AM. Reason: More complete code, happy new year..

  6. #6
    Registered User
    Join Date
    02-09-2023
    Location
    Virginia
    MS-Off Ver
    365
    Posts
    1

    Re: VBA To show and hide selection pane

    Very nice. Thank you. Big help.
    The extra test was essential. W/o current state I could not switch as desired. Each worksheet now sets up the way I want.

+ 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. "VBA code to hide/show rows based on multiple selection of drop down list.
    By NASANASA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-02-2020, 05:07 PM
  2. Hide chart and show text box based on list selection
    By thoron6 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2019, 09:17 AM
  3. [SOLVED] Selection Value Change on Worksheet to Show / Hide a shape
    By sl729 in forum Excel General
    Replies: 6
    Last Post: 07-03-2016, 04:28 PM
  4. Macro to hide/show rows based on Drop Down selection
    By Bleucherie in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-03-2015, 06:14 PM
  5. Show/Hide rows based on combo box selection and value in two cells
    By merrener in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-16-2013, 05:43 PM
  6. [SOLVED] Hide/show rows with 0 value in column D and E based on case selection
    By say0nara in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-31-2013, 06:34 AM
  7. Replies: 1
    Last Post: 04-11-2008, 02:02 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