Click here to Skip to main content
16,017,881 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i have an excel worksheet with 10 data columns and columns from number 3 to number 6 were merged when i try to set auto fit rows for my rows this was not works because i had merged cells please help me how can i solve this problem
tnx
Posted

1 solution

Using AutoFit() method - you can't. The only way is to set width/height manually.
 
Share this answer
 
Comments
Prasad_Kulkarni 23-May-12 0:26am    
Exactly +5!
Maciej Los 23-May-12 2:05am    
Thank you, Prasad ;)

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