+ Reply to Thread
Results 1 to 2 of 2

VBA to close UserForm on another book

  1. #1
    Forum Contributor
    Join Date
    12-18-2011
    Location
    long island
    MS-Off Ver
    365
    Posts
    236

    VBA to close UserForm on another book

    I have this line of code:
    Please Login or Register  to view this content.
    The problem is, this workbook has a userform that displays when it is opened. I want my code to open the external workbook but not the userform, or close the userform right away once it opens.

    Thanks

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: VBA to close UserForm on another book

    It's hard to test out but how about:
    Please Login or Register  to view this content.

+ 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] Userform Close (x) Check condition before close
    By rr1050 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-07-2016, 06:55 AM
  2. how to close userform using commndbutton and set automatic close at certain time
    By fatinmunie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-23-2014, 12:51 PM
  3. Copy active sheet to a new workbook, close that work book and return
    By nig_44 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-30-2012, 02:24 AM
  4. [SOLVED] Close active book and Excel only if no other wkbks are open
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-14-2011, 06:29 PM
  5. [SOLVED] default template (book.xlt) doesn't close
    By Michael in forum Excel General
    Replies: 3
    Last Post: 12-02-2005, 01:15 PM
  6. Create new book..paste data..save..close
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2005, 08:05 PM
  7. Open book, check for macros, close book
    By CLR in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-31-2005, 02:06 PM

Tags for this Thread

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