wps/word 自动换行插入回车符 JS宏代码
/** * test Macro */function test(){ for(let i=1;i<=1000;i++){ Selection.EndKey('wdRow','wdMove'); let a='d'+Selection.Text+'d'; let b = a.replace(/\s*/g,""); let c= Selection.Text; if(b =='dd'){ //此行已换行 console.log(c); .
原创
2022-03-14 09:19:46 ·
3073 阅读 ·
1 评论