i have some problem
dim rng As Word.Range = aDoc.Range(Start:=0, End:=0)
Dim sourceFile As FileStream = New FileStream(FILENAME, FileMode.Open, FileAccess.Read)
Dim FileSize As Long
FileSize = sourceFile.Length
Dim getContent As Byte()
getContent = New BinaryReader(sourceFile).ReadBytes(FileSize)
sourceFile.Close()
rng = getContent----> my problem here
EntireFile = rng.Text
how to copy binary data to word file
plz help
Answers
Know the answer? Post it. Somebody with the same question will find it here.