Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 246
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 246
Default Last Filled Column

Bob, thank you

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
go to last filled cell in a column shortcut inthestands Excel Worksheet Functions 2 October 30th 06 08:50 PM
How to find last filled in cell in a column? Cat Chowdy Excel Worksheet Functions 5 August 2nd 06 01:46 PM
Find last filled cell in a column sebastienm Excel Programming 13 March 29th 05 09:11 AM
Find last filled cell in a column Soo Cheon Jheong[_2_] Excel Programming 0 August 13th 04 02:37 AM
Count no. of filled cells in a column Frank Kabel Excel Programming 0 August 11th 04 03:48 PM


All times are GMT +1. The time now is 08:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"