Hi Vlad2112,
anybody who knows where the number is stored could cause trouble by changing the number as it may be changed by looking at it the workbook from the backstage view in Excel. Or it may be accessed by VBA like in the coide line
where the code would pass the next number to the property. You may either access that by itīs own like in this modified function where ht e results are displayed in the Immediate Window:
The code resets the number to 222 in the first line of test, adds one to this for the next and subtracts 15 from 223 in the third line. A lot of room to play with the code...
Ciao,
Holger
Bookmarks