troubleshooting Question

How to Delete all columns after last cell with data in row 1?

Avatar of Chirag Raval
Chirag Raval asked on
Microsoft OfficeMicrosoft ExcelMicrosoft ApplicationsProgrammingVBA
4 Comments2 Solutions280 ViewsLast Modified:
Dear All experts,

I already use this link's Mr Patrick Matthews's suggested code for delete all rows below data provided at this link of this site.

https://www.experts-exchange.com/questions/27255636/Delete-All-Rows-after-Last-Row-with-Data.html

but same question for columns...how to delete all columns  after last filled data on row 1.
or how to modify above linked code to delete columns.

Please Help.

Regards,
Chirag Raval
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros