I'm trying to automate excel via C# and having trouble converting the
following code to C#:
Rows("12:12").S elect
Selection.Copy
Selection.Inser t Shift:=xlDown
Application.Cut CopyMode = False
This code was recorded by the macro in excel. Essentially, what I did was
select the entire row 12. Then selected copy. Then I selected "Insert
copied cells".
I'm having a hard time with this. Any help will be greatly appreciated.
Thanks.
Mansi
following code to C#:
Rows("12:12").S elect
Selection.Copy
Selection.Inser t Shift:=xlDown
Application.Cut CopyMode = False
This code was recorded by the macro in excel. Essentially, what I did was
select the entire row 12. Then selected copy. Then I selected "Insert
copied cells".
I'm having a hard time with this. Any help will be greatly appreciated.
Thanks.
Mansi