Hi Folks,
I have a vba which populates cells on 2 tabs (sheetA and sheetB) in my excel, based on data on other sheets. Now I need to enhance my macro the following way:
1. when kicking off the macro an input box should appear with 2 cells to fill in (cell1 and cell2)
2. the user has to add dates into both cells, the format has to be the following: yyyy-mm-dd (therefore there should be some validation which drops an error if the cells are empty or the dates are not in the right format
3. the existing part of the macro runs (no help required regarding this point)
4. the value which the user input into cell1 gets copied into column B, on sheetA. The value which the user input into cell2 gets copied into column B, on sheetB.
Any help would be highly appreciated!
I have a vba which populates cells on 2 tabs (sheetA and sheetB) in my excel, based on data on other sheets. Now I need to enhance my macro the following way:
1. when kicking off the macro an input box should appear with 2 cells to fill in (cell1 and cell2)
2. the user has to add dates into both cells, the format has to be the following: yyyy-mm-dd (therefore there should be some validation which drops an error if the cells are empty or the dates are not in the right format
3. the existing part of the macro runs (no help required regarding this point)
4. the value which the user input into cell1 gets copied into column B, on sheetA. The value which the user input into cell2 gets copied into column B, on sheetB.
Any help would be highly appreciated!