+ Reply to Thread
Results 1 to 3 of 3

Suppress msgbox and userform.show

  1. #1
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Suppress msgbox and userform.show

    Hello!

    I try to suppress a userform and a msgbox from a closed file when I import some data.
    Some users are confused when they see the UserForm1 and the msgbox when data is imported, is possible not to see them when the code for importing is running?

    I appreciate your time and help!

    the code for importing data is:
    Please Login or Register  to view this content.
    the userform and msgbox belong to file where I import data from (Info.xls) and
    Please Login or Register  to view this content.
    and
    Please Login or Register  to view this content.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  2. #2
    Forum Contributor
    Join Date
    06-16-2011
    Location
    London
    MS-Off Ver
    Excel XP
    Posts
    276

    Re: Suppress msgbox and userform.show

    If I understand correctly, you've got 2 workbooks.....when the 1st workbook runs a data import script it opens the second workbook.....which has the userform1.show in it's workbook_open event.

    In your 1st workbook add the command:

    Please Login or Register  to view this content.
    just before you open the other workbook. Don't forget to turn events back on at the end.

  3. #3
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Suppress msgbox and userform.show

    Hi swoop99,
    Thanks a lot for your help! It does the trick!
    I tried some other stuff but did not think at this one!

+ 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] how to add counter in msgbox to show remain times the message will show vba code
    By sspreyer in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-25-2013, 06:46 AM
  2. [SOLVED] Only show msgbox once
    By shiftyspina in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-15-2013, 11:25 AM
  3. Msgbox show selection
    By sgp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-16-2012, 10:05 AM
  4. How to suppress msgbox
    By smgordon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2009, 10:50 AM
  5. How MsgBox can show address?
    By Milind in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-29-2005, 09: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