how to create this new functions

jackni

Board Regular
Joined
Feb 10, 2011
Messages
73
is there anyone can help me to create this new functions that can get the same result as the original functions in excel.
the new functions name is up to you, and i want someone can help me to write the vba of this functions such as "if, match, offset, address, indirect, countifs, sumifs, iferror"
can anyone in this forum help me, many thanks !!!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Why would you ever want to write new functions when you already have working ones in VBA?
 
Upvote 0
Why would you want to rewrite what was already done (and works fine)?
 
Upvote 0
Code:
Dim homework$
homework = InputBox ("Is it homework? (Yes or No)")
 
If Lcase(homework) = "yes" Then
    MsgBox "Good luck!! Look at my signature for solution."
ElseIf LCase(homework) = "no" Then
    MsgBox "... Why??"
Else
    MsgBox "YES OR NOOOOOOO", vbCritical
End IF
 
Upvote 0
Re: how to create these new functions

well, it's kind of difficult to explain.
here is the story. i want to protect my excel from cracked by someone else, and the most useful information in the workbook is the formula. my way to protect this workbook is kind of armed to the teeth. first, i want to rewrite the whole functions in excel, that means use all new functions created by myself instead of using the original ones, that's way i ask for help here. second, use macro to protect the workbook. third, use vb to package excel as a .dll file. so use new functions is one of these steps to protect.
is anyone can help me here? thanks!
 
Upvote 0
Re: how to create these new functions

1) If a ******* has access to the file where the password is stored, he/she will crack into anyways.
2) VBA project is extremely easy to crack into with the right applications or cannot mention it.
3) dll files are written in VB.NET, which is a totally different language altho rooted from the same language, BASIC
 
Upvote 0
i know there is no perfect or absolute way to protect excel, new functions is just a way to make it harder or slower to ******* to totally get to know what is about in this workbook. besides, my workbook is not that kind business secret. what i'm doing is to prevent from normal users.
so the doubt remains, and is the vba language of writing these new functions difficult? 'cause i can not find any info.(answers) about it in internet.
in my early thought, i mean we can look at this question as a homework, if in this way, the answers will be easy to get. well, the reality is not like what i thought.
i'll be greatly appreciated if someone can help me ! thanks!
 
Upvote 0

Forum statistics

Threads
1,224,560
Messages
6,179,519
Members
452,921
Latest member
BBQKING

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top