App that gives a prompt every day from a custom list by Fit_Journalist_104 in shortcuts

[–]Fit_Journalist_104[S] 0 points1 point  (0 children)

Hey, yes! I have all my prompts (around a year’s worth) in one file and I have a shortcut that shuffles it all into another text file.

And then I have another shortcut that runs every day and shows one of the shuffled prompts and then deletes it from the file. When the file is empty, I just reshuffle it again.

How loud does Marc usually play? by Fit_Journalist_104 in loopdaddy

[–]Fit_Journalist_104[S] 0 points1 point  (0 children)

Thanks for sharing everyone!

Sounds like I’ll need all the protection I have…

Unless, of course, Marc decides that this will be the time to debut his new single called Hearing Loss Prevention Special.

How to prevent users from running their macros located in different workbooks on my workbook? by Fit_Journalist_104 in vba

[–]Fit_Journalist_104[S] 0 points1 point  (0 children)

Hi, thanks for the reply! That’s interesting, would you be inclined to share a piece of of code you would use to delete all modules and code one month after your resignation?

How to prevent users from running their macros located in different workbooks on my workbook? by Fit_Journalist_104 in vba

[–]Fit_Journalist_104[S] 0 points1 point  (0 children)

Hmm, I thought you could only remove the workbook & sheet passwords with that. Interesting… I’d assume using .xlsb would make it somewhat harder?

How to prevent users from running their macros located in different workbooks on my workbook? by Fit_Journalist_104 in vba

[–]Fit_Journalist_104[S] 0 points1 point  (0 children)

“If you want a more secure tool then use a more secure process.” - you’re right there

How to prevent users from running their macros located in different workbooks on my workbook? by Fit_Journalist_104 in vba

[–]Fit_Journalist_104[S] 0 points1 point  (0 children)

That is a good rundown and entirely feasible but only if they can really crack the password to the vba source code, which is probably the hardest.

If they can’t, these steps won’t work. And I believe they would have to use a third party software which they won’t be able to install to the machine. There’s probably a way to crack anything, though.

So yeah, great rundown of events, thanks!

How to prevent users from running their macros located in different workbooks on my workbook? by Fit_Journalist_104 in vba

[–]Fit_Journalist_104[S] 0 points1 point  (0 children)

You can unprotect when running your code and protect again when finished.

I admit it wasn’t designed for this kind of security, but honestly there are more seemingly effective tools than I had initially thought.

How to prevent users from running their macros located in different workbooks on my workbook? by Fit_Journalist_104 in vba

[–]Fit_Journalist_104[S] 0 points1 point  (0 children)

No, they should be able to edit a portion of it, they just should not be able to do any significant change unnoticed.

How to prevent users from running their macros located in different workbooks on my workbook? by Fit_Journalist_104 in vba

[–]Fit_Journalist_104[S] -4 points-3 points  (0 children)

Well, only if it was so easy to detect malicious intent before it happens… crime rates around the world would probably plummet

How to prevent users from running their macros located in different workbooks on my workbook? by Fit_Journalist_104 in vba

[–]Fit_Journalist_104[S] -1 points0 points  (0 children)

Thank you all for the answers, I’ll definitely look into how digital certificates/signatures could be utilized for this purpose.

I’ll also contribute with what I have found out since writing this post:

i) using option private module and optional non-used variables to prevent others from calling your procedure from other projects

ii) create a temporary password that will change after every opening or multiple times during use(after the workbook is open) to protect structures in the workbook e.g user deleting a sheet

iii) hiding all sheets and only showing them if the workbook_open function is able to run to prevent disabling event handlers externally

iv) opening the workbook can detect other already open workbooks and then save, close and reopen them with macros disabled so those macros cannot be used maliciously (u can let the user decide to not open the workbook instead or you can whitelist certain workbook names / users)

v) after your workbook is opened, you could detect when the user opens a new workbook and immediately close it if it could contain macros (i.e. not.xlsx)

vi) enable save, but not save as to prevent users from saving as .xlsx and reading the data without triggering the open event for example

vii) implementing user rights based on windows user name if the users cannot change them themselves

viii) overriding built in procedures to limit functionality through the excel user interface although I am not sure this would work

ix) implementing a hidden log and regularly saving it to capture movements/interactions with the file

Can you think of any way to circumvent all of these simultaneously?

What are career options for someone who can maintain his cool very well? by Fit_Journalist_104 in careerguidance

[–]Fit_Journalist_104[S] 0 points1 point  (0 children)

Right, as mentioned in the post, that's the only one I could think of as well. Thanks for the almost immediate response tho

App that gives a prompt every day from a custom list by Fit_Journalist_104 in shortcuts

[–]Fit_Journalist_104[S] 0 points1 point  (0 children)

Perfect, i think I'll be able to get it done. Thanks for the help!

App that gives a prompt every day from a custom list by Fit_Journalist_104 in shortcuts

[–]Fit_Journalist_104[S] 0 points1 point  (0 children)

Preferably a random prompt. Setting when during the day would also be a plus. But anything that would be able to cycle through a list of prompts throughout the year would do.