Good day,
i'm creating a macro that splits a master file into over 30 files, each of those files needs to have a macro that shows/hide columns for some of the sheets on them. i'm not able to figure out a way to add this code to each new file
Thanks in advance for your help
i'm creating a macro that splits a master file into over 30 files, each of those files needs to have a macro that shows/hide columns for some of the sheets on them. i'm not able to figure out a way to add this code to each new file
Code:
If ActiveSheet.Columns("B:D").Hidden = True Then
[INDENT]ActiveSheet.Columns("B:D").Hidden = False[/INDENT]
Else
[INDENT]ActiveSheet.Columns("B:D").Hidden = True[/INDENT]
End If
Thanks in advance for your help