| | |
Excel VBA macro protection
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jul 2009
Posts: 3
Reputation:
Solved Threads: 0
Hi,
I do need help with following problem. We have a password protected excel sheet with *complicated* macros in VBA. VBA code is protected, but some of our traders can still copy whole xls file and run it on private computers (strictly prohibited, but they violate rules and do it). Is there a way how to use xls file on just certain computers?
Any good idea how to solve this problem is greatly appreciated.
Thank you,
Jo Greenwood
I do need help with following problem. We have a password protected excel sheet with *complicated* macros in VBA. VBA code is protected, but some of our traders can still copy whole xls file and run it on private computers (strictly prohibited, but they violate rules and do it). Is there a way how to use xls file on just certain computers?
Any good idea how to solve this problem is greatly appreciated.
Thank you,
Jo Greenwood
•
•
Join Date: Jul 2009
Posts: 1
Reputation:
Solved Threads: 0
•
•
•
•
Hi,
I do need help with following problem. We have a password protected excel sheet with *complicated* macros in VBA. VBA code is protected, but some of our traders can still copy whole xls file and run it on private computers (strictly prohibited, but they violate rules and do it). Is there a way how to use xls file on just certain computers?
Any good idea how to solve this problem is greatly appreciated.
Thank you,
Jo Greenwood
•
•
Join Date: Jul 2009
Posts: 3
Reputation:
Solved Threads: 0
Sorry if my description was confusing - the goal is to give them mild slap on the wrist but xls file must be fully transferable over mail and filesystem, no installation issues etc. We would probably need to read (don't know how to do it
) serial number of windows and then check up if it is on the list or not - that is all.
•
•
Join Date: Jul 2009
Posts: 1
Reputation:
Solved Threads: 0
I had to deal with almost identical problem, finally found CID library I hope that it could be helpful for you.
•
•
Join Date: Jan 2008
Posts: 2
Reputation:
Solved Threads: 0
You can also use API calls within the VBA coding to compare a computer's hard drive serial, user name, windows version, user name, etc. to an "allowed" list and have the code deny access or functionality based on this. I did this for a VBA/Excel project at work Permitted users/computers are allowed full function while others on the network accessing the file must provide a password to achieve same functionality.
Also used same principle in a old VB 6 project as part of a registration method to tie Unlock Codes to a specific program-generated serial number. This serial number was mathematically produced from the API information I mentioned above.
Also used same principle in a old VB 6 project as part of a registration method to tie Unlock Codes to a specific program-generated serial number. This serial number was mathematically produced from the API information I mentioned above.
![]() |
Similar Threads
- Sendkeys in excel vba (Visual Basic 4 / 5 / 6)
- Excel vba 6.0 copy date cells date format (Visual Basic 4 / 5 / 6)
- Find Method problem in Excel VBA.... (Visual Basic 4 / 5 / 6)
- excel VBA macro to generate .rtf file (Visual Basic 4 / 5 / 6)
- C++ or Excel and VBA in Finance? (C++)
- Compiling Excel VBA-code? (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: option button and textbox
- Next Thread: How to find the specific badge id by using the inner join
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





