Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Event Raised by Paste Special + Link

I'm trying to detect when data is linked into a worksheet from the
clipboard. The document I'm copying from is a managed document from
third
party document management system and is stored in a temporary locatio
on
the client machine. When the source document is closed, it is remove
from
the temp location by the document management system, breaking the lin
in
the target document. I've been trying to detect when the link i
inserted
in order to change it to a synchronized cache location maintained b
me. The
problem is that I'm unable to find an event in the Excel object mode
that
allows me to detect when a link has occurred. I've tried handling th
Sheet
Changed event from multiple levels( App, Workbook, and Doc), but th
event
only ever fires on a normal paste, and not on a linking paste. This i
very
counter-intuitive.

Is there an event in Excel that would fire upon linking?

P.S. I'm using VS.NET 2003, C#, and Office 2003, but this must work in
2000<

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Event Raised by Paste Special + Link

Paste as a link adds a shape to the sheet. It doesn't change a cell, so the
change event is not fired.

I don't believe there is an event fired for this.

--
Regards,
Tom Ogilvy

"cduden " wrote in message
...
I'm trying to detect when data is linked into a worksheet from the
clipboard. The document I'm copying from is a managed document from a
third
party document management system and is stored in a temporary location
on
the client machine. When the source document is closed, it is removed
from
the temp location by the document management system, breaking the link
in
the target document. I've been trying to detect when the link is
inserted
in order to change it to a synchronized cache location maintained by
me. The
problem is that I'm unable to find an event in the Excel object model
that
allows me to detect when a link has occurred. I've tried handling the
Sheet
Changed event from multiple levels( App, Workbook, and Doc), but the
event
only ever fires on a normal paste, and not on a linking paste. This is
very
counter-intuitive.

Is there an event in Excel that would fire upon linking?

P.S. I'm using VS.NET 2003, C#, and Office 2003, but this must work in
2000<.


---
Message posted from http://www.ExcelForum.com/



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
Micros or paste special(link) again [email protected] Excel Discussion (Misc queries) 1 December 31st 09 01:17 AM
Micros or paste special(link) II [email protected] Excel Discussion (Misc queries) 1 December 30th 09 11:10 PM
Micros or paste special(link) [email protected] Excel Discussion (Misc queries) 1 December 30th 09 10:30 PM
'paste special', 'paste link' formatting transfer jrebello Excel Discussion (Misc queries) 2 July 25th 07 08:46 AM
PASTE LINK option not available when I select PASTE SPECIAL to link an image in Excel to a Word document. tln Links and Linking in Excel 0 April 22nd 07 04:28 PM


All times are GMT +1. The time now is 11:04 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"