find & replace macro

  1. I

    VBA to replace yesterdays date with todays date

    Hello, I'd like to create VBA code to find yesterday's date and replace it with today's date. The date is the format YYYYMMDD and is mixed-in with other text in the cell, e.g. ABC YYYYMMDD XYZ Cells.Replace What:="20130321", Replacement:="20130322", LookAt:=xlPart, _...
  2. R

    Help with scanning bar codes, and populating a different field

    I am a records management auditor, I recently switched to using Excel from other programs and I am hoping there is a way to make my life easier, What I want to do is scan a barcode with a barcode scanner and have it find the barcode in my Excel workbook, and then populate a cell a few columns...
  3. K

    Find & Replace Loop

    I have the following formula in column B of a worksheet: =IF(INDIRECT("Programado!B4")="","",INDIRECT("Programado!B4")) The formula's purpose is only to display what text/value is found in cell B4 on the Programado worksheet of my workbook. Because this is an indirect formula, when I fill it...
  4. S

    VBA Find/replace advanced options

    Hi All, I have a macro which converts a spreadsheet I use on a regular basis into a csv file for importing into a different software package. Part of the macro code is to find and replace data within the sheet, this generally works very well; however I have identified a fault with it which...
  5. A

    Smarter Macro for Multiple Find/Replace's?

    Hi, I’m George, fairly new to Excel/Marco programming. I have (what I hope) is a rudimentary question. I found this thread describing a way to do multiple Find/Replace’s in a large chunk of data: http://www.mrexcel.com/forum/showthread.php?t=486818 I like this solution...
  6. M

    VBA: Shortening Find & Replace Macro

    Hi, Is there a shorter way to achieve the same result by shortening the VBA code. Please explain in detail if it can be done, so that I can edit it in future if there are some changes. Here is the Macro: Sub FindReplaceFor_RD() Cells.Replace What:="A1", Replacement:="A01", _ LookAt:=xlWhole...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top