Excel VBA in C #

I convert some codes from Excel VBA to C# and run this problem. I am not sure what the equivalent of this code is in C #. Intellisence did not help much :(

Selection.ShapeRange.Adjustments.Item(1) = 90

I managed to get to Adjustment in C #, but there is no Item property.

+6
source share
1 answer

Per MSDN it seems that the Adjustments property has an index, so you can do this:

 Selection.ShapeRange.Adjustments[1] = 90; 
+3
source

Source: https://habr.com/ru/post/984296/


All Articles