You are only closing the workbook in your code.
Will just close the workbook and leave the window open.
oApp.quit after closing the workbook
- VBA: need to close window, only can close workbook
- Can only run one VBA over 1 workbook
- How can I code to close an open workbook using its directory path instead of its name using vba in excel?
- Disable clipboard prompt in Excel VBA on workbook close
- How to copy only a single worksheet to another workbook using vba
- Need to save xls workbook As xlsb with VBA
- Can I compile VBA on workbook open?
- How can I open this VBA workbook faster?
- Only public user defined types defined in public object modules can be used as parameters in VBA
- How can I maximize an IE window created by VBA with SHDocVw.InternetExplorer command?
- ThisWorkbook.ChangeFileAccess xlReadWrite Creates Multiple VBAProjects for workbook in VBA Window
- Only user-defined type defined in public object modules can be coerced when trying to call an external VBA function
- How can I use VBA to list all worksheets in a workbook within a string?
- Execute Multiple Lines in the Immediate Window of an Excel VBA workbook
- Close the Immediate Window - VBA
- How can I disable the clipboard prompt in excel vba when I close the workbook?
- Close already opened workbook in Outlook VBA
- Excel VBA - Close workbook
- Open file path for any desktop VBA Access, I need to set the path so that it can be opened on any desk top
- Excel VBA and C# DLL: Instantiate WinForms Object can only be done once. At second try there is an error
- Selenium VBA - exit sub without close browser window
- Close an excel workbook opened by another user on the same computer using VBA
- Workbook Closed by VBA Doesn't Close Referenced, IsAddin Workbook
- How can I close the UserForms properly in VBA in Excel, so that I can reopen them if necessary?
- How to apply vlookup only for empty cells using vba and another workbook
- When I create a new Workbook and add sheets to it using another Workbook, the sheets appear in the workbook window but VBA does not recognize them
- Excel VBA Close Workbook and Trigger New Macro
- This member can only be accessed for a group VBA Word document
- VBA - Close window
- Excel VBA code to SaveAs a specific filename and close the active workbook
More Query from same tag
- Excel Not Responding During Macro
- Loop through worksheets in workbooks in a folder and subforlders
- VBA Automated Mailmerge using 2 templates based on cell value
- Split Multi-Line Cell into Rows
- Access Reserved Symbols Workaround not working as expected
- VBA module stops seemingly without reason.
- changing a for each loop into for loop
- VBA dynamically distribute values across range
- Extract files based on the prefix
- Replace text in Word VBA based on Multiple Font Conditions
- Automatically saving outlook attachments based on title
- Loop to 100 then change change row x times
- Insert rows based on the user input (textbox value)
- PowerPoint in Delphi: fill table with text
- Vba remove duplicate and sum value
- Get data based on Months (Name) excel vba
- Excel not updating after macro
- Vba Excel best way to maintain big lists of data
- Date Subtraction within Select Statement
- Countif with selection to the last non-empty cell in a column
- I need to highlight a cell after a IF statement on excel vba
- VBA .findnext not working. Runtime error 91 object variable or with block variable not set
- Compare 2 columns and remove duplicates without shifting
- What range should i do?
- How to conditionally merge/join excel worksheets?
- VBS that triggers a macro via HTA (Cannot run the macro)
- When I SaveAs to CSV it changes true/false to TRUE/FALSE
- Excel VBA export each sheet into one PDF page
- Copy data from excel to existing powerpoint chart
- get data from previous sheets