G
Guest
Hello all,
I've created an addin for Powerpoint 2007 using VSTO2005 SE. My addin have a
function that can get value from Powerpoint. For example, it will get the
value from the selection that have been made in Powerpoint and display it in
a message box.
TWord$ = Globals.ThisAddIn.Application.ActiveWindow.Selection.TextRange.Text
MessageBox.Show(TWord$)
The above example code is working only if I have made a selection (highlight
any word in any slide). My problem is, can I make the function to get value
from Powerpoint just by placing the cursor at any one word? Is this possible?
Can somebody explain how to make this work?
Thank you.
Westman
I've created an addin for Powerpoint 2007 using VSTO2005 SE. My addin have a
function that can get value from Powerpoint. For example, it will get the
value from the selection that have been made in Powerpoint and display it in
a message box.
TWord$ = Globals.ThisAddIn.Application.ActiveWindow.Selection.TextRange.Text
MessageBox.Show(TWord$)
The above example code is working only if I have made a selection (highlight
any word in any slide). My problem is, can I make the function to get value
from Powerpoint just by placing the cursor at any one word? Is this possible?
Can somebody explain how to make this work?
Thank you.
Westman