Possible to bypass event if called by specific macro?
Posted by Catherine Munro on November 15, 2001 12:27 PM
I have a simple event on Worksheet 1 that I like the way it is.
'Resize display
Private Sub Worksheet_Activate()
Worksheets(1).Range("C6:Q6").Select
ActiveWindow.Zoom = True
Worksheets(1).Range("C6").Select
End Sub
However, it's glitching up another procedure that needs to paste data to to that Worksheet. I think it's because the Select is interfering with having data on the clipboard.
Problem line in macro 2:
Worksheets(1).Paste Destination:=Worksheets(1).Range("LVL02_CausalData")
Any ideas how to handle? Should I handle transferring data differently? Or is there a way to identify that the Worksheet is being activated by this particular macro, so I can put an IF in the event procedure?
Thanks!
Catherine