Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Delete desktop icon with VBA

Desktop icon can be created with VBA. Does anyone have the VBA code for deleting a desktop icon?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Delete desktop icon with VBA

if the icon is a shortcut... just delete the ".lnk" file from the current
user's desktop folder. (or from the "allusers" profile

if the icon is a classed item (like the outlook desktop item) you'll have
to manipulate the registry.

You'll have to be carefull though.. a lot of adminstrators will set
policies on desktop manipulation.


keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"?B?RnJhbmNpcyBBbmc=?="
wrote:

Desktop icon can be created with VBA. Does anyone have the VBA code
for deleting a desktop icon?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I put an icon for Desktop in Quick Access? JanetLouiseTrenholm Excel Discussion (Misc queries) 1 September 17th 09 03:11 PM
Desktop File Icon Josh O. Setting up and Configuration of Excel 3 August 23rd 07 09:30 PM
dragging a file to the desktop icon Shaun101 Excel Discussion (Misc queries) 0 January 8th 07 04:38 PM
Saving Excel Icon to Desktop Candy Excel Discussion (Misc queries) 1 January 6th 07 10:08 PM
how can i put the excel icon on my desktop? petre Excel Discussion (Misc queries) 4 February 20th 05 05:29 PM


All times are GMT +1. The time now is 01:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"