Loop to insert multiple notes

Hello,

I am trying to create a macro to insert notes into a drawing. I can get my macro to insert one note from a list but not any others. I want to be able to copy and paste a list of text into a text box and have each line inserted as a separate note. I can make the array of note easily enough but I think there is something not working with how I am inserting the note.

any help would be appriciated

example list :

Note 1
Note 2
Note 3
Note 4
Note 5
SolidworksApi/macros