![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Programming A discussion forum for programs and programming used in tech-related businesses. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jun 2009
Posts: 1
OS: xp
|
i got an error "object does not support this property or method"
the following is the code Public Sub sc() dirige = App.Path Set fos = CreateObject("Scripting.FileSystemObject") Set objfso = CreateObject("Scripting.FileSystemObject") Set worddoc = WordApp.Documents.Open(dirige & element.Name) Set appword = CreateObject("Word.Application") Set BArepertoire = fos.GetFolder(dirige & "\SC\") For Each element In BArepertoire.Files 'Set fle2 = appword Set fle2 = objfso.openwordfile(dirige & "\sc\" & element.Name) 'Set repertoire = fos.GetFolder(dirige & "\C:\Documents and Settings\bhasoo\Desktop\SC Dispute\") Do While Not fle2.AtEndOfStream With worddoc.Sections(1) If InStr(strline, "name") Then ' the "name" is on a text file. dbno = Mid(strline, 28, 12)' i collect the values here TxtDebtorNumber.Text = dbno' then this value is pasted in a text box |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
![]() |
| Thread Tools | |
|
|