Hi,
Range("B1").EntireColumn.select
Cheers
Andy
Scott wrote:
This code fails if a graph on the same sheet is selected (clicking inside the
graph)
Columns("B:B").Select
If I unselect the graph (clicking ouside the graph) then code runs fine.
What can I put in the code to make sure the graphs are not selected?
--
Andy Pope, Microsoft MVP - Excel
http://www.andypope.info