is there way restrain macro accessibility? want sell macro. give person use it, need make sure not run after ten times of runs or after specific date! forced pay registration. 1 more thing is not excel.
this procedure run 10 times, warned, if vba project reset, run 10 times.
sub runme() static numberofruns long if numberofruns < 10 numberofruns = numberofruns + 1 'do stuff needs doing here debug.print numberofruns end if end sub
Comments
Post a Comment