ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Automating Excel and closing program (https://www.excelbanter.com/excel-programming/410005-automating-excel-closing-program.html)

meldrum_scotland

Automating Excel and closing program
 
Hi,

I am learning VB2005 and I've created a basic program that creates an
Excel spreadsheet and then closes the program leaving the Excel
spreadsheet active.


The program works great when I have visual studio open but when that
is closed and I run it from the exe (in the release folder) the
program takes forever and I have to press ""Alt + tab" to get the
program to work.


Am I doing something fundementally wrong?


Thank you in advance (and apologies if this is really basic!)


Best


Meldrum


All times are GMT +1. The time now is 06:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com