LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default VBA quick help from a newbie

All,

I am trying to determine the code to select the 2 last empty columns in
Excel via VBA. The only code I can find is
Range("IV5").End(xlToLeft).Select the only reason for that is row 5
contains data and 1-4 don't, thus returning results further left than I
wanted when doing a paste.

Again I am trying to select the last 2 empty columns in a worksheet. What
would be the most effective way to do this?

Regards,

Nathan



 
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
Need Help Quick nevans Excel Discussion (Misc queries) 2 August 7th 09 03:48 PM
NEED HELP QUICK! excel-chump[_2_] Excel Worksheet Functions 4 September 20th 07 07:10 PM
Real Newbie newbie question Dave New Users to Excel 0 January 10th 07 07:55 PM
Help quick nempo Excel Worksheet Functions 3 July 20th 06 10:22 PM
Hi! I need some quick help! Al pal Excel Discussion (Misc queries) 3 February 12th 05 09:37 PM


All times are GMT +1. The time now is 05:12 PM.

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

About Us

"It's about Microsoft Excel"