Jump to content

Recommended Posts

Posted

Hi

 

One of the schools I work in has two different versions of office installed and on top of that they have some 32bit and some 64bit Win 7 machines some running 2003 some running 2010, at the moment I need three shortcut icons for each program, is there any way I point to whatever version is installed because it's a mess at the moment.

 

Many Thanks

Posted

Another solution would be to use a script to launch each Office program, then create a shortcut pointing to each script and change the icons to match the programs.

 

The VBScript's shown below will work regardless of whether the OS is 32-bit/64-bit or the version of Office installed, because the paths to Word, Excel, PowerPoint etc. are stored in the registry.

 

http://i.imgur.com/Q1ZQyZV.png

 

Word.vbs

CreateObject("Wscript.Shell").Run "[color="#FF0000"]WinWord.exe[/color]", 1, False

 

Excel.vbs

CreateObject("Wscript.Shell").Run "[color="#FF0000"]Excel.exe[/color]", 1, False

 

PowerPoint.vbs

CreateObject("Wscript.Shell").Run "[color="#FF0000"]PowerPnt.exe[/color]", 1, False

  • Thanks 3
Posted
Thanks you, thats a brilliant and quick way of doing it, just what I was after. I will look at item level targeting as well though to see what it does. Thanks everyone for the help :)
Posted
Another solution would be to use a script to launch each Office program, then create a shortcut pointing to each script and change the icons to match the programs.

How do you know where to point the shortcut icon though?

Posted (edited)

I've made a copy of the icons in the same folder I've dropped the VB scripts, just finishing it off then going to give it a try.

 

Edit: All done now and working like a charm, thank you so much

Edited by Cooners

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...