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

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
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,223,994
Messages
6,175,849
Members
452,675
Latest member
duongtruc1610

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