C
CAM
Hello,
I have a command button that will populate in the worksheet call "Data" in
column A2 and up to 30 or more rows depending upon the workbook "Dept_Sch001
second row will be "Dept_Sch002 and so on.. I like to prevent the user to
press the command button a second time. What I want to have is if column A2
already contains the prefix "Dept_" an error message will appear saying
column A2 already have the prefix "Dept_". and stop. I just want to prevent
the user pressing the command button a second time and not have my coding
populating A2 and so on. Any tips will be appreciated. Thank you in
advance.
I have a command button that will populate in the worksheet call "Data" in
column A2 and up to 30 or more rows depending upon the workbook "Dept_Sch001
second row will be "Dept_Sch002 and so on.. I like to prevent the user to
press the command button a second time. What I want to have is if column A2
already contains the prefix "Dept_" an error message will appear saying
column A2 already have the prefix "Dept_". and stop. I just want to prevent
the user pressing the command button a second time and not have my coding
populating A2 and so on. Any tips will be appreciated. Thank you in
advance.