LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Moving the cursor around with a macro....

you could do this
(1) using Conditional Formatting. For exampl if you want to see duplicates
in D, then select the entire column, select Format/Conditional Formatting,
switch to Formula Is and add the formula
=AND(D1=D2,D1<"")
then select some back color or whatever

(2) use COUNTIF so in E1 put =COUNTIF(D:D,D1) copy the formula down.
use autofilter on E where the value <1 or 1

(3) in VBA:

col="D"
for rw = 2 to cells(1,col).End(xldown).Row
if cells(rw,col)=cells(rw-1,col) then
cells(rw,col).Iterior.Color=vbRed
end if
next

"HpyTrvlr69" wrote in message
...
Silly question for all you smart guys out here....where does one lookup
info
on the moving and selecting of cursor and cell locations programmatically
(Macro or VB). I know....Im really dumb!!


 
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
moving cursor in a macro Amanda Excel Discussion (Misc queries) 3 June 18th 09 03:09 AM
moving the cursor in a macro Amanda Excel Discussion (Misc queries) 1 June 18th 09 02:05 AM
moving cursor PECOSBOB Excel Worksheet Functions 1 January 17th 09 01:27 PM
moving cursor aby New Users to Excel 2 November 2nd 08 10:45 PM
Moving the cursor Gandhi Bojja Excel Programming 3 May 22nd 07 08:15 AM


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