LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel VBA-How do I increment columns in VBA?

try this:

Eg. For i=1 To 4
Range(cells(1,i),cells(1,i)).Select
Next i

cheers
e
 
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
Dragging across columns: I want column constant, but row increment CM Excel Worksheet Functions 7 April 30th 23 07:41 PM
How do I increment a column in Excel Legion Man Excel Discussion (Misc queries) 2 February 7th 10 04:10 AM
Why Excel Does not increment by 2 or 3, odd/even numbers? alsaleh Excel Worksheet Functions 6 November 16th 09 02:06 AM
Increment using a button in excel Chuck P. Excel Discussion (Misc queries) 2 July 25th 07 10:06 PM
Excel Increment columns in rows FGM Excel Discussion (Misc queries) 4 January 3rd 05 04:24 PM


All times are GMT +1. The time now is 05:31 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"