LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default beginner ColumnsQuestion b + 1 = c how?

Wow

Thanks for all the quick help on that!

Steve's answer made the most sense for my application, but I'll look at the
others to see if I can figure out the advantages of each.

I'm doing something like...

myColumn = "A"
for x = 1 to 50
if range(myColumn,1).value = "some date" then
do whatever
end if
myColumn = Chr(Asc(myColumn) + 1)
next x

I know it's a basic script, but I'm just starting to learn


Thanks again

Paul

--
__________________________________

The Comedy & Juggling of Paul Isaak
http://www.funnyjuggler.com



Toll Free - 1-877-852-4590
"Paul Isaak" wrote in message
news:pTI4h.285349$5R2.278674@pd7urf3no...
Forgive me, I'm very new to VBA for Excel

I want to use a for next loop to cycle through data in columns, but how
do I add one to the current column?

IE

A + 1 = B


I was pretty proud of myself when I made it work with rows, but the
columns have me stumped.

Paul
--
__________________________________

The Comedy & Juggling of Paul Isaak
http://www.funnyjuggler.com







 
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
I'm an excel beginner please help DLL Excel Worksheet Functions 4 June 29th 09 02:35 AM
VB beginner Matthew Balch Excel Programming 4 August 31st 06 04:31 PM
Please help a beginner.... Lindsey Excel Programming 2 November 25th 05 04:11 PM
Beginner needs help, Look inside! pops-1 Excel Programming 1 September 7th 05 09:37 PM
Beginner at VBA Bob Simon Excel Programming 5 December 4th 04 03:31 PM


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