Toggle between two excel applications

timfran87

New Member
Joined
Mar 14, 2013
Messages
8
I have a macro that cycles every 5 minutes. I have tried everything I can to get this program to run while I modify a sheet in the workbook to no avail. I have however figured out that if I open up a seperate excel application that my macro can continuosly run without preventing me from modifying the other application. Now I need to figure out a way toggle between the two excel application windows if a condition is met. The basis of this is to allow production associates to create a schedule and modify it while a macro looks into the defect database and if a defect becomes too problematic, the macro interupts the schedule to display the issue. Does anyone have any ideas?
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
I would set your macro in the defect database to run and save the database as often as necessary, every minute or whatever.

Then in your scheduling file, use MS Query to pull in the data from the defect database into a table. Edit the connection properties to automatically refresh every 5 minutes.
 
Upvote 0
I would prefer to do this, but the company that I work for has multiple locations adding to this database so they will not give me access to it. The only way I can look at the data is through an IE intranet search program that pulls up a summary of data specific to my location. I am looking for a setfocus type command to just identify and bring the other application to the front. I even tried Application.SendKeys "%{Tab}", True but that didnt work. I wasnt too heartbroken though because I am not a big fan of sendkeys. Any other suggestions.
 
Upvote 0

Forum statistics

Threads
1,203,097
Messages
6,053,519
Members
444,669
Latest member
Renarian

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top