Is it possible to declare s1 as global rather than local in thefollowing statementSet s1=worksheets("input")When I tried to declare this statement in declarations, VBE gave error.
Put it at the top of a module and use Public rather than Dim.