I can only think of an example in Batch for what I need... but I need it in a VBA Macro
Any help would be greatly appreciated
Code:
IF /I "%username%"=="Server" GOTO ONEI
IF /I "%username%"=="MrExcel" GOTO TWOI
IF /I "%username%"=="Hyflex" GOTO THREEI
:ONEI
ECHO ---------------------------------------------
ECHO Server PC
ECHO ---------------------------------------------
GOTO END
:TWOI
ECHO ---------------------------------------------
ECHO MrExcels PC
ECHO ---------------------------------------------
GOTO END
:THREEI
ECHO ---------------------------------------------
ECHO Hyflex's PC
ECHO ---------------------------------------------
:End
Any help would be greatly appreciated