variables: wdApp Automation ‘Microsoft Word 10.0 Object Library’.Application wdRange Automation ‘Microsoft Word 10.0 Object Library’.Range code: wdRange.Start := 1; wdRange.End := 1; <— compiler error I think .End is a reserved statement in Navision. In vba there is a work around with .Setrange() but is my assumption correct?
Hi, Simple: wdRange.Start := 1; wdRange."End" := 1;
If there are properties/methods with the same name as a reserved C/SIDE word then it must be wrapped with “” Regards
LOL and Thanks, in which manual did you find that statement?
Humm… manual, what manual? What is a manual?! [:D] Seriously though, I don’t remember reading it anywhere, so I think I just had a feeling and tried it like this some time ago… [:I] Glad I could help, bye
Everytime the same: experience is all …