Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Edit Excel TextBox using C#
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Why can't I edit my excel document? Edit buttons shaded. | New Users to Excel | |||
How to move cursor from one textbox control to another textbox con | Excel Programming | |||
How to move cursor from one textbox control to another textbox con | Excel Programming | |||
Edit Textbox using KeyPress vba code in Access | Excel Programming | |||
UserForm TextBox to ActiveSheet TextBox over 256 characters | Excel Programming |