Command button working invisibly

imback2nite

Board Regular
Joined
Oct 30, 2004
Messages
203
Office Version
  1. 2003 or older
Platform
  1. Windows
First time poster, long time reader here.
I am working on a spreadsheet with two command buttons. One button that will hide certain columns while other colums become visible. The second Command button will to the same...just vice versa. When I hit the button I see all the colums emerging and then disappearing. My question is.....Can I have the buttons work without seeing all the goings on? I mean can I hit the button and wait the second or two and NOT see what columns are disappearing and reappearing? Thanks for the help in advance!!!
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Before the bulk of your code enter the line:

Application.ScreenUpdating = False

and before the end of the code

Application.ScreenUpdating = True
 
Upvote 0
Fantastic!!

Works like a charm!!! Thanks!!! Now tha page doesn't bounce around making me dizzy!!!
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,868
Members
449,053
Latest member
Mesh

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