Reply
 
Thread Tools Display Modes
  #1   Report Post  
Jacksnmr
 
Posts: n/a
Default how to create desktop shortcuts for word in windows NT

Hi
Please help me to do the above its driving me nuts.
Thanks
Paul
  #2   Report Post  
AA2e72E
 
Posts: n/a
Default

Try this:

sub sc()
set shell = createobject("WScript.Shell")
desktoppath = shell.specialfolders("Desktop")
set link = shell.createshortcut(desktoppath & "\WORD.lnk")
link.arguments=""
link.description = "Microsoft Word"
link.targetpath="C:\Program Files\Microsoft Office\Office\WINWORD.EXE"
link.save
set shell = nothing
set link = nothing
end sub

NOTE:
link.arguments=you can specify the name of an exixting DOC file
link.targetpath=may vary on your PC

"Jacksnmr" wrote:

Hi
Please help me to do the above its driving me nuts.
Thanks
Paul

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create shortcuts to Word on different user's desktops? cmorr Microsoft Word Help 2 November 27th 04 08:52 PM


All times are GMT +1. The time now is 12:31 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"