I'm trying to set up a security feature that allows users to be able to load up a workbook only if there computer will = the network id or network name that is set up on theire computer. I can figure out how to write the If statement to close the workbook if its false, but i'm having trouble locating a code that will show the network ID that has been set up on the locl computer. If this can't be done i'm willing to use the network id name, but i would prefer to use the local computers network id setting, in case a user has a labtop and wants to bring the workbbok home to use. He would only be able to use the workbook if the network id would match what the VBA has as a setting.
Any one have any ideas would be appreciated....
ray:
Any one have any ideas would be appreciated....