(Solved) – Can I simultaneously declare and assign a variable in VBA?

  • by

I’m new to VBA and want to know if I can convert the following declaration and assignment into one line:

Dim clientToTest As String
clientToTest = clientsToTest(i)


Dim clientString As Variant
clientString = Split(clientToTest)

Leave a Reply

Your email address will not be published. Required fields are marked *