#1   Report Post  
Posted to microsoft.public.excel.misc
SusieQ
 
Posts: n/a
Default Move down cell


Hi,

How can i use VBA to move down a cell in excel?

thanks


--
SusieQ
------------------------------------------------------------------------
SusieQ's Profile: http://www.excelforum.com/member.php...o&userid=30818
View this thread: http://www.excelforum.com/showthread...hreadid=506285

  #2   Report Post  
Posted to microsoft.public.excel.misc
Ian
 
Posts: n/a
Default Move down cell

ActiveCell.Offset(1, 0).Select

--
Ian
--
"SusieQ" wrote in
message ...

Hi,

How can i use VBA to move down a cell in excel?

thanks


--
SusieQ
------------------------------------------------------------------------
SusieQ's Profile:
http://www.excelforum.com/member.php...o&userid=30818
View this thread: http://www.excelforum.com/showthread...hreadid=506285



  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Move down cell

It is rarely necessary to select in VBA, and better not to. You could always
do something like

For i = 1 To 100
If Cells(i,"A").Value = 10 Then
Cells(i,"A").Offset(0,1).Value = Now
End If
Next i

which does no selecting and is more efficient.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Ian" wrote in message
...
ActiveCell.Offset(1, 0).Select

--
Ian
--
"SusieQ" wrote in
message ...

Hi,

How can i use VBA to move down a cell in excel?

thanks


--
SusieQ
------------------------------------------------------------------------
SusieQ's Profile:
http://www.excelforum.com/member.php...o&userid=30818
View this thread:

http://www.excelforum.com/showthread...hreadid=506285





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
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
move cell contents David L Excel Discussion (Misc queries) 13 November 24th 05 08:18 PM
copying cell names Al Excel Discussion (Misc queries) 12 August 11th 05 03:01 PM
Arrows move worksheet rather than cell selection, how fix? grenada49 Excel Worksheet Functions 3 May 17th 05 09:05 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM


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