Silent Treatment - how to hide excel query results

dmcgimpsey

Active Member
Joined
Mar 30, 2004
Messages
268
Hi there -

Again, great forum.

I am retrieving Access data to a spot on my worksheet, and I want to hide the activity from the user.

For example: when the query executes, it repositions the cursor to the H4 cell location (which is off the primary menu) and then it executes the query, and the data is returned.

I would like to have this action hidden from the user, and done kinda in the background

I appreciate your help
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

staticbob

Well-known Member
Joined
Oct 7, 2003
Messages
1,079
Hi dmcgimpsey,

Have you tried using...

Application.screenupdating = False
'Your code here
Application.screenupdating = True

That should at least stop the user seeing the action on screen.

HTH
Bob

PS - YAY for my 1000th post ! lol
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,127
Messages
5,835,553
Members
430,367
Latest member
glastonbury

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
Top