+ Reply to Thread
Results 1 to 4 of 4

prevent new workbooks from opening in avtive workbook

  1. #1
    Registered User
    Join Date
    05-13-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    12

    prevent new workbooks from opening in avtive workbook

    Hi, I was wondering is one the the VB experts out there can tell me if there is a way with vb to prevent another workbook from opening in the same window. What I have is an excel application that i want to keep separete from other workbooks that might get opened. For instance when this workbook open it needs to be the only one in the application. If another xls file is opened it needs to open in a new application widow. Is this possible?

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,058

    Re: prevent new workbooks from opening in avtive workbook

    In the workbook's ThisWorkbook module:
    Please Login or Register  to view this content.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Registered User
    Join Date
    05-13-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: prevent new workbooks from opening in avtive workbook

    Thanks a lot works great

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,058

    Re: prevent new workbooks from opening in avtive workbook

    Glad to help.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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