That worked out great actually.I just have to either 1 manually change the code when I need to change the value I'm looking for perhaps I should look at having a user input box come up :)
Thank you Paul, a great help and huge time saver (and looks very easy!) On Jun 19, 9:29 am, Paul Schreiner <schreiner_p...@att.net> wrote: > I'm not sure if I understand exactly what you're asking. > In a MACRO, it would be very easy to check the contents of "B", > and if it contains something specific (like 1:22), then clear "A". > Like this: > > For I = 1 to 1000 > if (instr(1,cells(I,2),"(1;22)") > 0) then cells(i,1) = "" > next I > > is that the kind of thing you're looking for? or did I misunderstand > completely? > > Paul > > ________________________________ > From: JsinSk <jsin...@gmail.com> > To: MS EXCEL AND VBA MACROS <excel-macros@googlegroups.com> > Sent: Thursday, June 18, 2009 6:28:20 PM > Subject: $$Excel-Macros$$ Find and replace the cell next to what your finding. > > I have a excel sheet that I put data primarily into Columns A and B > only. > > Column A gets data manually entered into based on what data is in > Column be right next to it. > > After I go through the data and run another Macro, I sometime need to > change what's in Column A, based on whats in column B. > Image below: > > http://picasaweb.google.com/lh/photo/FQoASCIVATi-GAszyohiew?feat=dire... > > ====================================== > > From that image if I'm finding (1:22) only is there a way to have it > delete the information in Column A and the continue on to check the > rest of the sheet?. --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---