Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


copy and paste..?

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,52674
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> copy and paste..?
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 copy and paste..? - 10/14/2007 9:43:20 PM   
  emmar

 

Posts: 1
Score: 0
Joined: 10/14/2007
Status: offline
Hi everyone,

I hope someone can help me.

I have two files an Excel document and a text file.
How do i go about copying the contents of the text file into a column of the Excel document...??

Everything i have found only copies in to a NEW Excel document this i do not wish to do.

thx
emma  
 
 
Post #: 1
 
 RE: copy and paste..? - 10/15/2007 3:23:34 PM   
  dm_4ever


Posts: 2723
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
What have you tried so far?  I would suggest looking at examples and playing around with them and posting something: http://www.microsoft.com/technet/scriptcenter/resources/officetips/archive.mspx 

FileSystemObject should let you read the text file...you can open an existing xls file using the excel object to then append your data.

_____________________________

dm_4ever

My philosophy: K.I.S.S - Keep It Simple Stupid
Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to emmar)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> copy and paste..? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts