Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, I made a VBA application, and I want to use this application in only one computer, suppose I am working in a company, and all computers are connected to the Network. every one has his own username and password. I want to give this VBA PROGRAM to Network User "ShahzadZ" and I want to use this program only for "ShahzadZ" not others. even my computer can be use for different Network Users. OR My this program can be restricted only one PC. how to do this .......... pls give me the suggessions. Waiting for your response. Best Regards Shahzad Madinah Hilton |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe
Sub sonic() If Environ("Username") = "ShahzadZ" Then 'Your code Else Exit Sub End If End Sub Mike " wrote: Hi, I made a VBA application, and I want to use this application in only one computer, suppose I am working in a company, and all computers are connected to the Network. every one has his own username and password. I want to give this VBA PROGRAM to Network User "ShahzadZ" and I want to use this program only for "ShahzadZ" not others. even my computer can be use for different Network Users. OR My this program can be restricted only one PC. how to do this .......... pls give me the suggessions. Waiting for your response. Best Regards Shahzad Madinah Hilton |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello, I'm unsure on a full solution for your problem but I can point you in
the direction of getting the Computer Name on the network - Goto this link http://allapi.mentalis.org/apilist/G...erNameEx.shtml And check out the example, remember to view the "Immediate Window" to view the output, then perhaps you could do some kind of IF ComputerNameDnsHostname = "Wanted Name" THEN Do something " wrote: Hi, I made a VBA application, and I want to use this application in only one computer, suppose I am working in a company, and all computers are connected to the Network. every one has his own username and password. I want to give this VBA PROGRAM to Network User "ShahzadZ" and I want to use this program only for "ShahzadZ" not others. even my computer can be use for different Network Users. OR My this program can be restricted only one PC. how to do this .......... pls give me the suggessions. Waiting for your response. Best Regards Shahzad Madinah Hilton |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Fatloss computer program | New Users to Excel | |||
What program do I need to download clip art onto my computer? | Excel Discussion (Misc queries) | |||
excel program be or not in computer | Excel Programming | |||
Excel program only runs on one computer | Excel Programming |