
FAQ About Excel Visual Basic for Applications

Can we assign a value in a cell to a variable in Excel?
Yes, we can.
For example, let's say you have a value in cell B1. The code you need to write to assign this value to your variable;
- variableName = Range("B1")