Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 10-06-2015, 03:32 PM
shg shg is offline how can I modify this macro to work on another column besides "A" Windows 7 64bit how can I modify this macro to work on another column besides "A" Office 2010 32bit
Advanced Beginner
 
Join Date: Oct 2015
Posts: 55
shg is on a distinguished road
Default

Code:
Sub luxation()
  Dim i          As Long
 
  With Range("R:R")
    For i = .Cells(.Rows.Count).End(xlUp).Row To 2 Step -1
      If .Cells(i).Value2 = .Cells(i - 1).Value2 Then .Cells(i, 1).ClearContents
    Next i
  End With
End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with conditional formatting & returning "Pass" / "Fail Results" in a Column N mikey386 Excel 2 12-11-2014 01:14 PM
remove repeated words with " macro " or " wild cards " in texts with parentheses and commas jocke321 Word VBA 2 12-10-2014 11:27 AM
Modify "preset" animations in PowerPoint 2013 ialpawsv PowerPoint 1 11-26-2014 02:23 PM
Outlook 2003, Modify default "entry type" for new journal entries narichardson Outlook 5 03-14-2012 08:34 AM
how can I modify this macro to work on another column besides "A" How to choose a "List" for certain "Heading" from "Modify" tool? Jamal NUMAN Word 2 07-03-2011 03:11 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:39 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft