A
Abongs
hi,
i want to automate a Word document using C#.
I don't understand what's not OK with this code segment:
find = selection.Find;
find.ClearFormatting();
replacement = find.Replacement; <--- Error: System.StackOverflowException
replacement.ClearFormatting();
The exact error is:
"An unhandled exception of type 'System.StackOverflowException' occurred in
mscorlib.dll"
Thanks for your help
Abongs
i want to automate a Word document using C#.
I don't understand what's not OK with this code segment:
find = selection.Find;
find.ClearFormatting();
replacement = find.Replacement; <--- Error: System.StackOverflowException
replacement.ClearFormatting();
The exact error is:
"An unhandled exception of type 'System.StackOverflowException' occurred in
mscorlib.dll"
Thanks for your help
Abongs