G
goplayoutside
Hi -
I am not a programmer and have a question I hope I can explain and that you
can answer.
The agency I work for requests hundreds of excel workbooks from other state
agencies. We are auditors. (Please don't hold that against me. I'm not an
auditor. I just keep their computers running.)
Since these workbooks come from other agencies, there is no standard format
or style. Many times, the workbooks have hidden rows and columns and may
contain one sheet or several sheets.
I have been asked if it is possible to run a Macro on the workbook to unhide
the columns and rows when the workbook opens. I have the Macro: (I have
saved it as a .vbs file)
Sub ShowHiddenRowsAndColumns()
'
' showhiddenrows Macro
' exposes hidden rows and columns
'
Selection.EntireColumn.Hidden = False
Selection.EntireRow.Hidden = False
End Sub
This works for the workbook it was created in. We want to run it on a
workbook that does not have the macro in it when the file opens. Is there a
simple way to do this?
Thank you very much in advance for your time and effort in helping me.
Wendy
I am not a programmer and have a question I hope I can explain and that you
can answer.
The agency I work for requests hundreds of excel workbooks from other state
agencies. We are auditors. (Please don't hold that against me. I'm not an
auditor. I just keep their computers running.)
Since these workbooks come from other agencies, there is no standard format
or style. Many times, the workbooks have hidden rows and columns and may
contain one sheet or several sheets.
I have been asked if it is possible to run a Macro on the workbook to unhide
the columns and rows when the workbook opens. I have the Macro: (I have
saved it as a .vbs file)
Sub ShowHiddenRowsAndColumns()
'
' showhiddenrows Macro
' exposes hidden rows and columns
'
Selection.EntireColumn.Hidden = False
Selection.EntireRow.Hidden = False
End Sub
This works for the workbook it was created in. We want to run it on a
workbook that does not have the macro in it when the file opens. Is there a
simple way to do this?
Thank you very much in advance for your time and effort in helping me.
Wendy