Scripts Thread, Office 2003-2007 shortcuts in Coding and Web Development; Hi
We run Office 2003 and 2007 on the same network. It would be great to just have one icon ...
11th October 2009, 10:39 PM #1
Office 2003-2007 shortcuts
We run Office 2003 and 2007 on the same network. It would be great to just have one icon and linked to a script that automatically opens Word 2003 if it exists on the harddrive or goes on and opens Word 2007 if that exists instead.
Is anyone out there good at VB who could write something nice and neat? :-)
IDG Tech News
12th October 2009, 10:11 PM #2
You could try this...
This should launch the 'default' version of Word, assuming it is installed. To launch a specific version, you can specify "Word.Application.12" for Word 2007 or "Word.Application.11" for Word 2003 etc.
set objWord = CreateObject("Word.Application")
objWord.Visible = True
Last edited by ajbritton; 12th October 2009 at 10:16 PM.
12th October 2009, 10:22 PM #3
I've tried this and also with Excel and Access - on my laptop the just appear in the taskbar and then close again after about 1/2 second - using Win 7 here at home.
13th October 2009, 01:17 AM #4
I cannot test on my Win 7 box as I don't have Office installed, but it works fine on my XP laptop. Odd thing is, I didn't really expect it to! The behaviour you are seeing is what I would expect, I just tried it on a whim and it seemed to work! Do you need something that will work on 7 ?
13th October 2009, 09:37 AM #5
You could also create a junction point so that C:\Program Files\Office11 and C:\Program Files\Office12 both point to C:\Program Files\Office
By jgcracknell in forum Windows
Last Post: 12th October 2009, 02:55 PM
Last Post: 14th August 2009, 02:58 AM
By Richard_Finnigan in forum Office Software
Last Post: 19th June 2009, 12:28 PM
By kennysarmy in forum Windows
Last Post: 13th January 2009, 02:31 PM
By mrforgetful in forum Office Software
Last Post: 12th June 2008, 02:11 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)