Hi,
Hi I'm trying to find the VBA code for determine where I terminate my form so when I initiate it again it will be located at the same position. I want to save the position into the value of a cell. I've tried:
Private Sub UserForm_Terminate()
Range("xPos").Value = Me.Left
Range("yPos").Value = Me.Top
End Sub
But it only returns 0,0 (default in the form properties)
Thank you for any help!
Hi I'm trying to find the VBA code for determine where I terminate my form so when I initiate it again it will be located at the same position. I want to save the position into the value of a cell. I've tried:
Private Sub UserForm_Terminate()
Range("xPos").Value = Me.Left
Range("yPos").Value = Me.Top
End Sub
But it only returns 0,0 (default in the form properties)
Thank you for any help!