+ Reply to Thread
Results 1 to 3 of 3

VBA to hide userform and make worksheet active

  1. #1
    Forum Contributor
    Join Date
    10-25-2016
    Location
    Derby, England
    MS-Off Ver
    MS 2013
    Posts
    228

    VBA to hide userform and make worksheet active

    Hi,

    Please can someone help me?

    I have a userform I'd like to hide and the speadsheet becomes active when the command button is pressed.

    Also I have a code that fades out the speadsheet while the userform is active.

    I've attached my file and in the userform (Search) I have added the "VIEW SPREADSHEET" button but at the moment it only hides the userform for 10 seconds and the speadsheet is still dark from the fading code.

    Any help would be much appreciated.

    Kind Regards

    Dan
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: VBA to hide userform and make worksheet active

    I'm not sure what help you're actually asking for here.

    The reason the UserForm only hides for 10 seconds is your code tells it to do so in this line:
    Please Login or Register  to view this content.
    You'll need to give us more details if you need more help.

    BSB

  3. #3
    Forum Contributor
    Join Date
    10-25-2016
    Location
    Derby, England
    MS-Off Ver
    MS 2013
    Posts
    228

    Re: VBA to hide userform and make worksheet active

    Hi BSB,

    To be honest, after thinking about it some more yesterday I've decided to abandon this option altogether. I think I was massively over complicating the situation.

    Thank you for taking the time to look at it and reply and I am sorry to mess you about.

    Kind regards

    Dan

+ 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] VBA for hide worksheet except active worksheet selected by Combobox
    By Neilesh Kumar in forum Excel General
    Replies: 2
    Last Post: 01-26-2018, 05:29 AM
  2. [SOLVED] Make Worksheet Active-X CheckBox value same as Userform CheckBox value
    By L plates in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-21-2016, 08:23 AM
  3. [SOLVED] If cell value returned by formula is zero, hide active worksheet
    By Aaron092 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-09-2015, 10:09 AM
  4. Activation of Userform Hide Worksheet and Closing Userform Activates Worksheet
    By Newmord in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-14-2014, 11:18 AM
  5. [SOLVED] Hide Blank Rows in Active Worksheet
    By cccote in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2014, 04:34 PM
  6. Open userform and hide active workbook only
    By occhibei in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-22-2013, 04:55 PM
  7. Userform linking with active worksheet not maintaining link with correct worksheet
    By millerj64 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-29-2012, 09:47 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