+ Reply to Thread
Results 1 to 4 of 4

OPen workbook without executing vba

  1. #1
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Witbank, SA
    MS-Off Ver
    Excel 2013
    Posts
    268

    OPen workbook without executing vba

    Hi everyone,

    I have a workbook that contains rather complicated vba on all sheets. 5 Sheets. I am trying to add a sheet, but vba does not let me. I get an Excel error that says:

    "That command cannot be used on multiple selections". Even if I press left shift while opening the workbook, it ignores that and vba still executes. I also disabled macros in Excel, but once again, the workbook ignores that and all vba still work. Any help please....

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,753

    Re: OPen workbook without executing vba

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Witbank, SA
    MS-Off Ver
    Excel 2013
    Posts
    268

    Re: OPen workbook without executing vba

    Thank you, I managed. What I did was click on the sheet tab, press control, and drag to the right. I cannot remember if I tried this previously, but it worked now. Thank you for your time.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,753

    Re: OPen workbook without executing vba

    You're welcome.



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


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    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


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Executing macro only once on open
    By CStumpo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-22-2018, 04:40 PM
  2. auto open macro not executing
    By wagner1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2015, 02:55 PM
  3. [SOLVED] executing macro causes excel to open the workbook that the macro is associated with
    By YOO629 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2015, 11:18 PM
  4. [SOLVED] Executing a SaveAs Command in an Open .txt File
    By HannahTee in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2013, 10:57 PM
  5. Disable Workbook Open Event Until Other Code has finished Executing
    By dgdgdg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-08-2013, 05:36 AM
  6. [SOLVED] Macro stops executing if another workbook is open
    By 4evra in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-01-2013, 12:32 PM
  7. Open file after workbook executing code is closed
    By randell.graybill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2011, 10: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