can't remove indent via VBA

can't remove indent via VBA

brian_adams
Collaborator Collaborator
1,131 Views
4 Replies
Message 1 of 5

can't remove indent via VBA

brian_adams
Collaborator
Collaborator

In notes of style I made construction description and  I need it with transfering of text of every construction layer to another line

But I also need it as single string with no indent

what  I do wrong?

 It works only  If I make formation  with (vbCrLf) but if i use "enter" for transfering of text to next line it ain't works at all3432.JPG111.JPG565656.JPG

 

0 Likes
Accepted solutions (1)
1,132 Views
4 Replies
Replies (4)
Message 2 of 5

dbroad
Mentor
Mentor

You can't just type the field name [NotesFromStyle] in. You must select it from the list (it must appear gray). This also affects copy/pasting code. This is an AutoCAD Architecture program bug in my opinion.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 3 of 5

brian_adams
Collaborator
Collaborator

Yes, I know it is bug, but it just sample I made quickly

issue is , when I made a list in Notes of Style with using enter to bring  next string down it ain't works with "split" or any other vba function, but i solve it making single string and do some VBA manipulation to depict it like list in manual property

0 Likes
Message 4 of 5

dbroad
Mentor
Mentor
Accepted solution

Post the drawing if you want more help. It's impossible to debug with pictures.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 5 of 5

brian_adams
Collaborator
Collaborator

Thanks for you willing to help. I solved it, turning issue upside down

23475.JPGкепкеп.JPG

0 Likes