I am very new to Excel VBA, actually this my first attempt. I have looked at a lot of videos and googled it but I need some help.
I have two worksheets which are similar. One is called Morning and the other Evening.
In the Morning worksheet, there is a NameRange called MorningRange (the range is from B12:O47). In the Evening worksheet, there is a NameRange called EveningRange (the range is from B12:O47). In each there are eight columns.
I want to do two things.
I want to copy all the rows from the Morning worksheet to Evening worksheet if Status in column F is "Incomplete". However, it should first delete any information that is in EveningRange of Evening worksheet.
The second thing I want to do is to execute this code from a command button placed on the Morning worksheet. If the user presses it more than once it should simply overwrite what is in the Evening worksheet (EveningRange)
Can someone please assist me in getting started with this code.
Bookmarks