Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Executing Code When Cell Is Double Clicked.

I have a spreadsheet with a list of file paths and would like to be able to
click on one of the paths and have it open the file.
The files are outlook .pst files and I have the basic logic for opening them
in Outlook. I just need a way to trigger the code when a user double clicks
a field with a path in it.

Any suggestions? Things to look at that might lead me in the right
direction?

Thanks

Steve


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Executing Code When Cell Is Double Clicked.

Use the beforedoubleclick event for the worksheet. In the event code, call
your macro to perform the action.

See Chip Pearson's page on Events for an overview
http://www.cpearson.com/excel/events.htm

--
Regards,
Tom Ogilvy


"Stever" wrote:

I have a spreadsheet with a list of file paths and would like to be able to
click on one of the paths and have it open the file.
The files are outlook .pst files and I have the basic logic for opening them
in Outlook. I just need a way to trigger the code when a user double clicks
a field with a path in it.

Any suggestions? Things to look at that might lead me in the right
direction?

Thanks

Steve



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
Excel files not opening when double clicked Dale Fye Excel Discussion (Misc queries) 4 March 15th 08 04:00 PM
Formula not displaying colored border when double clicked Joker Excel Discussion (Misc queries) 0 February 2nd 07 11:34 AM
UserForms and double-clicked worksheets... Dan Excel Programming 1 March 18th 06 05:35 AM
Change cell value when right-clicked/double-clicked grime[_5_] Excel Programming 5 October 17th 05 01:52 PM
VB6, How do i open (instead of edit) an excel OLE doc when it is double clicked? TexN Excel Programming 1 October 17th 05 12:04 PM


All times are GMT +1. The time now is 11:18 AM.

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"