PDA

View Full Version : Opening/Activating Safari



mikerickson
03-17-2008, 06:33 PM
I have a couple of Excel userforms and would like a button that will shift focus to the (already opened) Safari window or start Safari and go to the newly opened window.

I'm really ignorant about interaction between applications. (I love the modern set-up, were what is copied from one app. can be pasted into another.)

What code would have the user leave (but not close) Excel and goto Safari?

Thanks.


(Mac OS10.5 Excel 2004)

shades
03-18-2008, 05:38 AM
Howdy, and welcome to the board.

My guess is that you might have to use AppleScript to do that. It's been a long time since I looked at AppleScript, but I will dig around and see what I can find.