Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have an Excel sheet with collapsed columns.
Example columns:
A B C AD-AI AJ-AL
AD-AI are collapsed
AJ-AL are collapsed
with Python:
ws.range("A1").expand()

I get the range from A1 to AJ1 not AL1

Thanks Andreas

What I have tried:

ws.range("A1").expand
Posted
Updated 25-Jan-23 4:39am

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900