You can use coconut oil to substitute for vegetable oils by just melting the coconut oil and replacing the oils 1:1.
This means that if a recipe calls for 1 tablespoon of vegetable oil, you will use 1 tablespoon of liquid coconut oil.
Make sure that if you’re baking with this, you use all room temperature ingredients in order to prevent the coconut oil from hardening again.