excel - How to insert new row - xlwings -


what i'm trying achieve extend length of table within current excel form (not appending bottom of whole spreadsheet), while not replacing content below table.

to this, want insert new rows (for example on row 30). how can this xlwings?

i figured out how can done. unfortunately xlwings doesn't seem have functionality built in, it's possible using api.

this how inserted new row:

sht.range("30:30").api.insert(insertshiftdirection.xlshifttoright) 

Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -