Hello, I am currently using VBA code that requires a variable be set to a userform object's value.
They have been copy+pasted onto a excel spreadsheet into columnA and there are quite alot of these tedious lines.
Now, I need a formula (preferably) to swap these around the equal sign.
and show it in columnB.
So, it would look like
Thank you in advance,
Kpark.
PS: There will only be one equal sign so there will be no "=" in any of the codelines I want to swap.
For example,
Rich (BB code):
ws.Range("A1").Value = Me.a.Text
ws.Range("B1").Value = Me.b.Text
ws.Range("C1").Value = Me.c.Text
ws.Range("D1").Value = Me.d.Text
.
.
They have been copy+pasted onto a excel spreadsheet into columnA and there are quite alot of these tedious lines.
Now, I need a formula (preferably) to swap these around the equal sign.
and show it in columnB.
So, it would look like
Rich (BB code):
Me.a.Text = ws.Range("A1").Value
Me.b.Text = ws.Range("B1").Value
Me.c.Text = ws.Range("C1").Value
.
.
Thank you in advance,
Kpark.
PS: There will only be one equal sign so there will be no "=" in any of the codelines I want to swap.
For example,
Rich (BB code):
None of these
Worksheets("=Hello").Range("A1").Value = "Blarg="