You are here: Home » Macro Library » Lesson 1.7 start code
This code is always returning the value of 0 after entering numeric values. Can someone explain why?
Its because the “factor” variable is empty (which VBA converts to 0). You need to change it to 0.5 so it looks like the finish code.
You must be logged in to post a comment.
This code is always returning the value of 0 after entering numeric values. Can someone explain why?
Its because the “factor” variable is empty (which VBA converts to 0). You need to change it to 0.5 so it looks like the finish code.