B
BcOnline
Hi friends
In word2k vba,I open a document and Insert a pagebreak.Now in page
View,we can see two 'Page' in document.
but if when I want insert some shape(such as line,picture) in second
'Page',I found it's very hard to do.
Because there is no way to refer a Location in second page.
For example.when you use
Dim sp as shape.
Dim Sps as shapes
Set sps = ActiveDocument.Shapes
set sp = Sps.AddPicture("c:\\Test.bmp")
sp.setleft(100)
sp.settop(100)
Well,this picture will be add to Point(100,100),but it is in first page.
By other way I finally find a alternate solution(thru cut(Paste)) for
this problem.but I think that's a so indirect way.
Had known there is no a object called 'Page' in Word VBA.
But how can I refer the other pages in Word2K'S Page View in VBA?
Any comment will be appreciate.
In word2k vba,I open a document and Insert a pagebreak.Now in page
View,we can see two 'Page' in document.
but if when I want insert some shape(such as line,picture) in second
'Page',I found it's very hard to do.
Because there is no way to refer a Location in second page.
For example.when you use
Dim sp as shape.
Dim Sps as shapes
Set sps = ActiveDocument.Shapes
set sp = Sps.AddPicture("c:\\Test.bmp")
sp.setleft(100)
sp.settop(100)
Well,this picture will be add to Point(100,100),but it is in first page.
By other way I finally find a alternate solution(thru cut(Paste)) for
this problem.but I think that's a so indirect way.
Had known there is no a object called 'Page' in Word VBA.
But how can I refer the other pages in Word2K'S Page View in VBA?
Any comment will be appreciate.