+ Reply to Thread
Results 1 to 3 of 3

Re-code Userform to open range of sheets like previous sheet code

  1. #1
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    985

    Re-code Userform to open range of sheets like previous sheet code

    I have below two sets of codes - the first code is the original code used to open a range of sheets while using a password and it works great - but their is no Masking the Password.

    The second code is what I have discovered and works great in a Userform and it launches the Userform desired. I need to have this second code open the range of sheet as in the first code..


    If anyone can help - this would be great!

    1st Code:
    Please Login or Register  to view this content.
    2nd Code:
    [
    Please Login or Register  to view this content.
    Last edited by JJFletcher; 11-15-2014 at 12:40 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Re-code Userform to open range of sheets like previous sheet code

    There is no code to evaluate. Please re-submit.
    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

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Re-code Userform to open range of sheets like previous sheet code

    Hi, John,

    as you are able to code the first one you should be able to amend the If-Statement accordingly for the yes part of your code:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Last edited by HaHoBe; 11-15-2014 at 02:39 AM.
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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. Exit Userform to return to main code, but keep userform open
    By jombler74 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 09-04-2014, 04:01 AM
  2. [SOLVED] vba code to open excel file name in previous weekday date
    By prabhuduraraj09 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2014, 05:09 PM
  3. UserForm help - display list of open workbooks except workbook userform code is in
    By kensweep in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-09-2014, 12:26 PM
  4. VBA code to open next sheet or go back to previous
    By ABSTRAKTUS in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-14-2010, 07:21 AM
  5. Next and Previous Sheet Code...?
    By Mhz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2007, 06:06 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