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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
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
 
Upvote 0

Forum statistics

Threads
1,215,050
Messages
6,122,868
Members
449,097
Latest member
dbomb1414

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