ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Last Filled Column (https://www.excelbanter.com/excel-programming/346019-last-filled-column.html)

GregR

Last Filled Column
 
What is the syntax for this expected result? For example replace "Last
filled column"

Columns("A:Last filled Column").autofit

TIA

Greg


Bob Phillips[_6_]

Last Filled Column
 
Range("A1").resize(,cells(1,columns.Count).end(xlt oleft).column).entirecolum
n.Select


--

HTH

RP
(remove nothere from the email address if mailing direct)


"GregR" wrote in message
ps.com...
What is the syntax for this expected result? For example replace "Last
filled column"

Columns("A:Last filled Column").autofit

TIA

Greg




GregR

Last Filled Column
 
Bob, thank you



All times are GMT +1. The time now is 06:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com