R
Roddie
I have a macro (vldtn_rollover) which calls six or seven other macros in
turn to rearrange data on a single sheet using lots of cut and paste. Run on
a single worksheet, it works well.
But each workbook has eight or ten worksheets, so I tried setting up
Public Sub AllVldtn_rollover()
For Each w In Worksheets
w.Activate
vldtn_rollover
Next w
End Sub
but it chokes straightaway in the first macro called by vldtn_rollover,
complaining that "This operation requires the merged cells to be identically
sized."
I'm baffled about why this runs OK on one single worksheet, but chokes on
the first one when I try to loop it through several worksheets.
I'd appreciate any advice. Thanks
Roddie Grant
turn to rearrange data on a single sheet using lots of cut and paste. Run on
a single worksheet, it works well.
But each workbook has eight or ten worksheets, so I tried setting up
Public Sub AllVldtn_rollover()
For Each w In Worksheets
w.Activate
vldtn_rollover
Next w
End Sub
but it chokes straightaway in the first macro called by vldtn_rollover,
complaining that "This operation requires the merged cells to be identically
sized."
I'm baffled about why this runs OK on one single worksheet, but chokes on
the first one when I try to loop it through several worksheets.
I'd appreciate any advice. Thanks
Roddie Grant