Thank you for taking the time and come to see us.
You don't thank a student for taking the required physical education course.
Thank you for taking the time to share your experience.
Thank you, for taking the time to come to me.
"Then we thank you for taking the trouble of coming in."
"Thank you so much for taking care of my husband!"
Thank you for taking all the time to write it.
Thank you for taking such good care of my family.
I want to thank you for taking me to the top of the mountain.
Thank you for taking such good care of me after Mother died.