method of object failed

lewisNai's Avatar, Join Date: Apr 2008
Newbie Member
i have compiled a program in vb6 i want to view a selected database tables records in word\
before compiling its works
( i can send the data to MS word and word write or pours the data on a word page)
but after compiling the application the first time i clicks the send/print to word then
the application open the message

run time error 5152
method of object failed

then later it open and prints only the first line in word and cant go any futher

thanks
0
Cseek's Avatar, Join Date: Dec 2009
Go4Expert Member
Post the code demarking which line is causing error
& what is the office version