View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Vic Eldridge Vic Eldridge is offline
external usenet poster
 
Posts: 50
Default Edit Excel TextBox using C#

I'm not sure about C#, but in VB we'd use

ActiveWorkbook.ActiveSheet.Shapes("txtViews").Text Frame.Characters.Text = "abc"


Regards,
Vic Eldridge



Manish wrote in message ...
Hi,

I would like to edit a Excel TextBox using C#. I have done the selection
using the following code:
((Excel.Shape)xa.ActiveWorkbook.ActiveSheet).Selec t("txtViews");

Next I want to edit the text in the TextBox. How do I do that? Any help
would be highly appreciated.

Thanks,
Manish