Code to Hide/Unhide certain rows and columns

Status
Not open for further replies.

Sultan2022

Spammer
Joined
Jun 21, 2022
Messages
3
Office Version
  1. 2019
Platform
  1. Windows
Hello, im new to VBA.

I need to come up with a macro that will Hide/Unhide certain row and columns.

What is the VBA code that will help me achieve that?

Thanks
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Tell me what action you want to take to hide these rows.

Like click a button with a script or Double click on any cell in column A to hide that row
or some other way
Maybe when you enter Hide in any cell in column A to hide this row or enter unhide to unhide row

Many ways to do this
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,214,833
Messages
6,121,857
Members
449,051
Latest member
excelquestion515

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