anandbohra
04-29-2008, 11:17 PM
Hi friends,
This is my first post in word section pl help me in running this code in whole document.
I had pasted some data in word but the problem is it occupy hardly 50% of page (with respect to width) so i want to press delete at the end so next line comes up & then press space.
The recorded code is this.
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.TypeText Text:=" "
Selection.EndKey Unit:=wdLine
I want to run this code for the whole document
pl help me by giving full code
below is example of my document
row format
afasdfasdfasdfasdfasd
asdfasdfasdfasdfasdfasd
asdfasdfasdfasdfasdfas
asdfasdfasdfasdfasd
asdfasdfasdfasdf
required format (based on normal page width)
afasdfasdfasdfasdfasd asdfasdfasdfasdfasdfasd
asdfasdfasdfasdfasdfas asdfasdfasdfasdfasd
asdfasdfasdfasdf
This is my first post in word section pl help me in running this code in whole document.
I had pasted some data in word but the problem is it occupy hardly 50% of page (with respect to width) so i want to press delete at the end so next line comes up & then press space.
The recorded code is this.
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.TypeText Text:=" "
Selection.EndKey Unit:=wdLine
I want to run this code for the whole document
pl help me by giving full code
below is example of my document
row format
afasdfasdfasdfasdfasd
asdfasdfasdfasdfasdfasd
asdfasdfasdfasdfasdfas
asdfasdfasdfasdfasd
asdfasdfasdfasdf
required format (based on normal page width)
afasdfasdfasdfasdfasd asdfasdfasdfasdfasdfasd
asdfasdfasdfasdfasdfas asdfasdfasdfasdfasd
asdfasdfasdfasdf