Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
ijb ijb is offline
external usenet poster
 
Posts: 26
Default Move cursor to columns to the right

Sub ijb()
Dim i As Integer
i = 1
While Cells(i, 3) < ""
If Cells(i, 3) = "LU" Then
Cells(i, 5) = Cells(i, 5) / 1000
End If
i = i + 1
Wend

End Sub
though i admit the other replies are more elegant!


--
Remove nospam from my e-mail address to talk direct

Not MCSD just experienced

"Steven R. Berke" wrote in message
om...
I want to write a macor which will find the letters LU in Column C
them move to rows to the right to column E and divide the figure in
column E by 1000.



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
move cursor on one sheet moves cursor on all sheets tdworden Excel Discussion (Misc queries) 2 July 22nd 07 10:50 PM
Cursor not displaying properly to resize/move columns/tables [email protected] Excel Discussion (Misc queries) 1 April 9th 07 05:37 PM
Move cursor to next row Hank Excel Discussion (Misc queries) 1 August 4th 06 09:56 PM
Move cursor to columns to the right Don Guillett[_4_] Excel Programming 1 July 30th 03 12:59 AM
Move cursor to columns to the right Neil[_11_] Excel Programming 0 July 29th 03 10:37 PM


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