Home
|
Contact Us
|
FAQ
|
Search & Site Map
|
Link to Us
Sign In
|
Join
|
Other 45 Sites in Network
Home
Discussions
Access
Excel
InfoPath
Outlook
PowerPoint
Publisher
Word
Directory
User Groups
Related Topics
Outlook Express
Internet Explorer
Windows
MS Server Products
More Topics ...
MS Office Forum
/
Word
/
Programming
/
January 2006
Tip:
Looking for answers? Try searching our database.
range
Thread view:
Tree View
List View (postings sorted by date)
Single Message View
Enable EMail Alerts
Start New Thread
Thread rating:
MarcoPolo
- 30 Jan 2006 18:54 GMT
I have a file txt that i need to import into an array
I know i can do it in excel setting a rng and stroing into a variant
But in word?
Reply to this Message
Jezebel
- 30 Jan 2006 21:03 GMT
Dim pFileNum as long
Dim pArray as string
pFileNum = freefile
Open "C:\asdasdasd.txt" for input as pFileNum
pArray = Split(input(LOF(pFileNum),pFileNum),vbCr)
close pFileNum
>I have a file txt that i need to import into an array
> I know i can do it in excel setting a rng and stroing into a variant
>
> But in word?
Reply to this Message
Rate this thread:
The thread is excellent
Good
Might be useful for someone
Not relevant to the topic of the website
SPAM
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage
Start New Thread
Enable EMail Alerts
Rate this Thread
©2008 Advenet LLC
Privacy Policy
-
Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.