Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 586
Default Pass ActiveCell Value to my Add In Workbook

I have a worksheet double click event in Workbook("QUOTE.xls"). I also have
a Add-In Workbook("ADD IN.xla"). When I double click a cell in "QUOTE.xls" I
want to pass that Target.Value to a procedure in "ADD IN.xla". How do I do
this?

Thanks in Advance!
--
Cheers,
Ryan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default Pass ActiveCell Value to my Add In Workbook

Hi
If the AddIn is installed, then you do this in the normal way. If your
procedure is called Tester and Target.value is an integer (say) then
inside your double click event you put

Tester Target.Value

or
Dim TestValue as Integer
TestValue = Target.Value
Tester TestValue

where the code for Tester is of the form

Sub Tester (myValue as Integer)
'some code using myValue
End sub

The event code will find the sub Tester within the AddIn. If your
existing Tester code does not accept a parameter, then simply alter it
as above so that it does.

regards
Paul

On Sep 3, 3:34*am, RyanH wrote:
I have a worksheet double click event in Workbook("QUOTE.xls"). *I also have
a Add-In Workbook("ADD IN.xla"). *When I double click a cell in "QUOTE.xls" I
want to pass that Target.Value to a procedure in "ADD IN.xla". *How do I do
this?

Thanks in Advance!
--
Cheers,
Ryan


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
pass variable from one workbook to another calebjill Excel Discussion (Misc queries) 2 January 28th 09 07:38 PM
Pass workbook name to ActiveX DLL meldrum_scotland Excel Programming 2 August 9th 08 11:03 PM
Can I pass control to a 2nd workbook Alan Excel Programming 3 March 20th 07 01:26 PM
pass workbook on to function? Sonnich Excel Programming 1 May 18th 06 01:41 PM
pass workbook name to sub Przemek Excel Programming 1 August 11th 05 04:09 PM


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