Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have created an install routine using a Userform that runs code conditional to the Username. However, the procedure is not recognizing the value of the strName variable. ================ Sub cmdNext_Click() Dim strName as String strName = Environ("Username") If strName = "doej" Or strName = "doex" Then GoTo X_Only Else GoTo Y_Only X_Only: ' Code here..... Y_Only: ' Code here... End Sub ================= Any help you can lend would be appreciated. Henry |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
What is the formula to capture username from system into excel she | Excel Discussion (Misc queries) | |||
How to capture Username into specific cells | Excel Worksheet Functions | |||
What is the function for system to capture the username | Excel Discussion (Misc queries) | |||
What is the fucntion or formula to capture username into excel she | Excel Discussion (Misc queries) | |||
Excel screen capture to capture cells and row and column headings | Excel Discussion (Misc queries) |