Hello,
I’m adding dynamic dropdown (combobox) in specific cell of excel. But newly generated dropdown doesn’t fit inside assigned cell.
Please find my code :
ComboBox cb = null;
cb = worksheets.Shapes.AddComboBox(5, 0, 5, 0, 20, 160);
cb.InputRange = “Sheet1!A1:A2”;
cb.DropDownLines = 100;
Also find attached image for same.dropdown indside cell.png (9.3 KB)