home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Excel "De-Prioritizing" Itself

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2858
Discussions: 200,968, Posts: 2,379,690, Members: 246,333
Old October 10th, 2002, 03:30 PM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Oct 2002
Posts: 5
Unhappy
Excel "De-Prioritizing" Itself

First off, I'll let you know I'm programming in VBA in Excel. I'm prompting the user with multiple dialog boxes, getting selections, but Excel keeps "de-prioritizing" itself behind other applications I have open. For example, I prompt the user, they make a selection, hit "Okay", then another application will pop up in front, and Excel will be in the background flashing, trying to let me know that it's ready for the user to make another selection, which is another dialog box. Is there any way to KEEP Excel in front? I'd appreciate any help I can get because this has been driving me crazy! Thanks!

Greg II
FitOne3539 is offline   Reply With Quote
Old October 10th, 2002, 04:56 PM     #2 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,396
do you have an instance of the Excel application?
If so you can set the instance property to true to make sure its in front.
for instance..
excelapp.Visible = True

I'll see if I can come up with something else.
__________________
Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.
vass0922 is online now   Reply With Quote
Old October 10th, 2002, 11:47 PM     #3 (permalink)
Member
 
Join Date: Sep 2002
Posts: 364
You'd have to paste the code. I just tried an example, using both a created form and built-in Excel dialog boxes both (you didn't say which you were using) and upon the unload (of the created form anyways) it would return to Excel.
Creosote is offline   Reply With Quote
Old October 11th, 2002, 11:13 AM     #4 (permalink)
Junior Member
 
Join Date: Oct 2002
Posts: 5
What I'm doing is having the user select a group of items, and datbases are being checked to see what tests exist for each particular item. A test will come up in a VB form, be selected by the user, then it goes through a macro to store that data in an array. Then tests for the next construction are displayed, and so on. Sometimes, all the VB forms will come up without me having to "reactivate" Excel, and other times, one of the other applications running will jump up in front, and the Excel button will flash on the toolbar. If data doesn't exist for the item, a message box comes up and says say (with a vbOKonly), after which the program will move onto the next item. I've found that, on occasion, I can minimize the application that pops up, and control is returned back to Excel.

As far as the 'instance' stated by vass0922, I can't do anything with that in VBA. I tried doing a search, and it didnt' know what I was talking about.

I also tried unloading the forms, but it still functions the same way.

Appreciate the help, but still stuck, though.
FitOne3539 is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (3030)
Forty-six years ago today (12)
Breaking: San Diego ACORN Document .. (5)
Laptop with wireless problem. (12)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
windows vista security holes (16)
Internet Lost (5)
windows 7 problem (7)
Is the PSU I received dead? (13)
Point and Shoot Camera Suggestions. (6)
radeon x850xt platinum & shader.. (6)
HIS HD5770 graphic card question (15)
Recent Discussions
Help getting around port 80 for camer.. (5)
Skillsoft Network+ Study Software Que.. (10)
Browsers wont load websites (3)
Nvidia GTX 260 problem (2)
windows vista security holes (16)
Delete an OS (8)
help me pls laptop just stopped worki.. (0)
Open With ..... Win7 (3)
Laptop with wireless problem. (12)
Internet Lost (5)
virus blocking exe. files (1)
Point and Shoot Camera Suggestions. (6)
CPU fan stops spinning randomly (11)
Modern Warfare 2: Who Bought It? (65)
Is the PSU I received dead? (13)
Print spooler problem (16)
Kingston Bluetooth Dongle Driver (1)
Multiple Restarts Required at Boot (3)
webcam (0)
upgrade for hp a6101 (0)
tv not turn on-makes clicking sound (2)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Virus advise (8)


All times are GMT -4. The time now is 05:09 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28