VBA Project Question

Questions ArchiveCategory: QuestionsVBA Project Question
Mary Anderson asked 3 years ago

In the instructions for the VBA project it says to “comment our code.” Does this mean describing what we’re doing with the green subtext as we code? Or does it mean something else? 

1 Answers
Cory Anderson answered 3 years ago

you got it Mary!
Like you said, commenting your code basically means explaining what you are doing as you do it. We do this because in the real world, the code you write will be edited later by other people and if they have a process to follow based on your explanation it makes it a lot easier for them to follow the code. With a lot in this class you can google it because other developers have the same questions. For example – if you want more help you can google “commenting VBA” and youll get tons of answers!
Best of luck with VBA!

Your Answer

13 + 2 =