Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Lock sheet to certain pc
Please help me how to make a protection to lock excel sheet to work only in
certain PCs. When opening a worksheet it could be in a auto_open code and check for example MAC-address of the PCs lan adapter. After comparing allowed MAC-addressed macro should then either close sheet or allow it to be opened. If its hard to lock to MAC-address, anything else check will do fine, this protection isn't intended for the profesionals, only for normal endusers. Jason |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Lock sheet to certain pc
This will get you the MAC address
http://vbnet.mvps.org/code/network/macaddress.htm NickHK "Jasoni" wrote in message ... Please help me how to make a protection to lock excel sheet to work only in certain PCs. When opening a worksheet it could be in a auto_open code and check for example MAC-address of the PCs lan adapter. After comparing allowed MAC-addressed macro should then either close sheet or allow it to be opened. If its hard to lock to MAC-address, anything else check will do fine, this protection isn't intended for the profesionals, only for normal endusers. Jason |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Lock sheet to certain pc
Thank You very much for the quick answer.
Now I only have to learn how to use it ;o) Looks little bit complicated for my VBA level but lets see.... Thanks "NickHK" kirjoitti ... This will get you the MAC address http://vbnet.mvps.org/code/network/macaddress.htm NickHK "Jasoni" wrote in message ... Please help me how to make a protection to lock excel sheet to work only in certain PCs. When opening a worksheet it could be in a auto_open code and check for example MAC-address of the PCs lan adapter. After comparing allowed MAC-addressed macro should then either close sheet or allow it to be opened. If its hard to lock to MAC-address, anything else check will do fine, this protection isn't intended for the profesionals, only for normal endusers. Jason |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Lock sheet to certain pc
"NickHK" kirjoitti ... This will get you the MAC address http://vbnet.mvps.org/code/network/macaddress.htm NickHK Everything worked just fine, no problem. Thanks once more. |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Lock sheet to certain pc
Should be a case of copy/paste, although it is always better to understand
the code you are using. The only section to change would be Private Sub Command1_Click() 'in calling, pass the character you 'want as a delimiter between MAC 'address members Text1.Text = GetMACAddress("-") End Sub NickHK "Jasoni" wrote in message ... Thank You very much for the quick answer. Now I only have to learn how to use it ;o) Looks little bit complicated for my VBA level but lets see.... Thanks "NickHK" kirjoitti ... This will get you the MAC address http://vbnet.mvps.org/code/network/macaddress.htm NickHK "Jasoni" wrote in message ... Please help me how to make a protection to lock excel sheet to work only in certain PCs. When opening a worksheet it could be in a auto_open code and check for example MAC-address of the PCs lan adapter. After comparing allowed MAC-addressed macro should then either close sheet or allow it to be opened. If its hard to lock to MAC-address, anything else check will do fine, this protection isn't intended for the profesionals, only for normal endusers. Jason |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Need to lock 2 rows in a sheet | Excel Discussion (Misc queries) | |||
HOW TO LOCK THE OPENING OF A SHEET(TAB)? | Excel Discussion (Misc queries) | |||
IS IT POSSIBLE TO LOCK THE SHEET BUT PARTIALLY | New Users to Excel | |||
need a macro to lock sheet | Excel Programming | |||
lock tab in sheet 2 until cell in sheet one is completed | Excel Worksheet Functions |