Creating a Macro to Amend

Jav_uk8

New Member
Joined
Jan 12, 2017
Messages
22
Hi All,

I have a list of staff which varies from week to week and need certain elements amending such as changing the '/' to '-' for dates, replacing words and to minus 7 days from a date.

- Firstly I need the date format changing from '/' to '-' starting in column F2 (the amount will vary week to week).

- In column V2 and W2, I need the words replacing to 'Meat' (The words being replaced will vary).

- In column X2, there is a date in this column, I need the macro to minus (-) 7 days from the date in the cell (Dates will vary person to person).

Hope this makes sense.

Thanks :)
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Re: Creating a Macro to Amend...HELP

Update:

I have sorted out the '/' to '-' issue with a macro.

I just cant work out how to replace different text in a column.
 
Upvote 0

Forum statistics

Threads
1,226,114
Messages
6,189,052
Members
453,522
Latest member
Seeker2025

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