I am writing an Excel Macro that parses a user's selection and uses the data to create a SQL database table. I'm using DataNitro to fire off the scripts straight from Excel, but need help feeding the Excel selected values into my python script.
I know that DataNitro lets you access and edit Cells straight from Python, but all the examples they provide are hard-coded ( eg CellRange("A1:B5")
). Is there a way to get a selected range, similar to VBA's Selection.Address
method?
Thanks!