|
-
Jan 24th, 2000, 09:44 PM
#1
Thread Starter
New Member
Run-time error '5025'
Buffer for return string is too small
Opening a Word7 document and copy string to clipboard.
Dim outfile as String
or outfile as String * 5000
wd.EditSelectAll
outfile = wd.Selection$() 'error here
-
Jan 24th, 2000, 10:50 PM
#2
So Unbanned
dim as a single
string can only hold so many characters
------------------
DiGiTaIErRoR
VB, QBasic, Iptscrae, HTML
Quote: There are no stupid questions, just stupid people.
-
Jan 24th, 2000, 11:07 PM
#3
I think the limit for a string is 64K.
------------------
Marty
Why is it called lipstick if you can still move your lips?
-
Jan 24th, 2000, 11:34 PM
#4
64K is the limit for a Fixed Length String, as you are using. A Variable Length String can hold upto 2 Billion Characters.
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|