[quote user="Michal Kurzewski"]How to get ID of each note?[/quote]
It's a common idiom when demonstrating a feature of VBA to provide an element ID. In real code you would not do that.
[quote user="Michal Kurzewski"]There are alot of notes in the model and its also meant for batch[/quote]
The scanner is your friend! Create an ElementScanCriteria object, set its properties, then use ModelReference.Scan to find elements that match the criteria.