motabrasil
New Member
- Joined
- May 11, 2010
- Messages
- 28
People
I have a macro with several Userforms. And, from one of them, I calculated some values and save the result into the variable "Z", as described below:
Z = Z + (Cells(Rw, colPQuantity) * Cells(Rw, colRUnitPrice))
Now, I need to capture that "Z" value using another Userform and Paste into a specific cell like:
Set ws = Worksheets("Total")
ws.Cells(4, "L").Value = Z.Value
How to do that?
Thanks
I have a macro with several Userforms. And, from one of them, I calculated some values and save the result into the variable "Z", as described below:
Z = Z + (Cells(Rw, colPQuantity) * Cells(Rw, colRUnitPrice))
Now, I need to capture that "Z" value using another Userform and Paste into a specific cell like:
Set ws = Worksheets("Total")
ws.Cells(4, "L").Value = Z.Value
How to do that?
Thanks