Macro

Amolivy

New Member
Joined
Sep 29, 2018
Messages
1
I work in a company where I raise order for customers.
There's this file that has all names of customers used by SalesReps to order for the customer but from where we download, it comes with all customers both those who has request and those that don't.
Now some rows of some customers don't also has a request, thereby leading me to start hiding columns.
Now, my problem, how can I get a VBA to always run it for me. Checking is this column empty=yes then hide or no then don't. Since the number of customers that may come at a time varies.
Thanks. Any help will be appreciated.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
create a small sample file with fake details and load to a well recognised cloud file that dosen't need an account, and someone may look at it. bring the link back here. Makes sure the headings are exact match for what you see
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,180
Members
453,021
Latest member
Justyna P

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