-2
This is my code. It fills the Date when I have this
=Updating_Date(B5)
typed in C5. What it is supposed to do is fill the Date ONLY when data is present in B5, and remove the Date when No data is present. Currently it displays Date no matter what. I need to write in a condition to make it ONLY display Date when data is present in Column B.
Below is what I have typed into a module, thanks to another user, with =Updating_Date(B5)
entered in C5.
Function Updating_Date(dependent_cell as Range) As Date
Updating_Date = Date
End Function
Again, this displays the Date no matter if data is in column B or not.
Thanks.
Have you tried googling for "vba condition"? Because this site is not a free macro writing service. – TheUser1024 – 2015-03-24T20:06:14.467
If my question was inappropriate I apologize and will delete it. I was looking for assistance or suggestions to what I currently had. I didn't realize asking for help writing that condition was breaking any rules.. – Kyle Hinkebein – 2015-03-24T20:23:35.990
This site is fully about helping you write that condition, but you should try to get a bit further maybe. If you try and run into an issue, this is the place to go and ask for help. But it is up to you to do the trying. ;-) However you already got an answer, but i think your question does not show enough effort. No worries though, no offense meant! You would have learnt and benefited more trying a bit harder i believe (and you already had the search word you needed: "condition"). – TheUser1024 – 2015-03-24T20:25:15.850
I appreciate the advice!! I'm honestly in a bit of crunch to get this working otherwise I probably would had even a little more. Generally I would have more time to experiment and get a better grasp as I would prefer to learn rather than ask for handouts.. When your not used to formulas or coding it's really tricky trying to jump into it.. – Kyle Hinkebein – 2015-03-24T20:39:44.727