Hi all,
I ma trying to generate a macro that when run will offer me certain columns to view and hide unnecessary columns
I have run the following using the macro recorder but this doesn't seem to worknymore
This was working before I made some changes to the workbook but none of the changes are code changes
Would there a be a more robust option available, or a better written code option maybe?
many thanks
I ma trying to generate a macro that when run will offer me certain columns to view and hide unnecessary columns
I have run the following using the macro recorder but this doesn't seem to worknymore
Code:
Sub View_Meeting()
Columns("A:E").Select
Selection.EntireColumn.Hidden = False
Columns("F:FS").Select
Selection.EntireColumn.Hidden = True
Range("A1").Select
End Sub
Would there a be a more robust option available, or a better written code option maybe?
many thanks
Last edited: