HorseGoose
Programmer
As I am having a useful afternoon this maybe helpful too
lists environment variables specific to any PC the workbook is opened on. useful is you want to write algoritims to secure your application for particular users or even for particular pcs.
ONLY WORKS UNDER WINDOWS NOT FOR MACS (havent tested on macs to tell the truth)
Sub auto_open()
Row = 1
varindex = 1
Range("$A" & Row) = "Environ ID"
Range("$B" & Row) = "Environ Decription"
Do While Row < 200
outputstr = Environ(varindex)
Range("$A" & Row) = varindex
Range("$B" & Row) = outputstr
varindex = varindex + 1
Row = Row + 1
Loop
End Sub
lists environment variables specific to any PC the workbook is opened on. useful is you want to write algoritims to secure your application for particular users or even for particular pcs.
ONLY WORKS UNDER WINDOWS NOT FOR MACS (havent tested on macs to tell the truth)
Sub auto_open()
Row = 1
varindex = 1
Range("$A" & Row) = "Environ ID"
Range("$B" & Row) = "Environ Decription"
Do While Row < 200
outputstr = Environ(varindex)
Range("$A" & Row) = varindex
Range("$B" & Row) = outputstr
varindex = varindex + 1
Row = Row + 1
Loop
End Sub