Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

data merging using access or excel

Thread Tools
 
Search this Thread
 
Old Nov 19, 2002 | 07:27 PM
  #1  
12LEE's Avatar
12LEE
Thread Starter
Scooby Regular
 
Joined: May 2000
Posts: 794
Likes: 0
Post

Morning all :-)

Can I use a simple office type package to do the following...

transform the following table

content filename
123 file1.txt
blah name2.txt

into a collection of files, named according to filename field, containing the content in the content field?

Cheers

Lee.
Reply
Old Nov 20, 2002 | 12:29 AM
  #2  
nkh's Avatar
nkh
Scooby Regular
 
Joined: May 2002
Posts: 633
Likes: 0
Post

The following three lines will write to a file from a VBA macro in excel.

Open "TESTFILE" For Output As #1 ' Open file for output.
Write #1, "Hello World", 234 ' Write comma-delimited data.
Close #1 ' Close file.

I could probably knock you up a solution if you want, but not this late, I'll check this thread tommorow evening.

Reply
Old Nov 20, 2002 | 11:44 PM
  #3  
12LEE's Avatar
12LEE
Thread Starter
Scooby Regular
 
Joined: May 2000
Posts: 794
Likes: 0
Post

Would certainly appreciate an Excel macro if at all poss.

Cheers

Lee.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
Jul 2, 2023 01:54 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
Dec 28, 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
Nov 18, 2015 07:03 AM
Sam Witwicky
Engine Management and ECU Remapping
17
Nov 13, 2015 10:49 AM
TylerD529
General Technical
2
Oct 9, 2015 01:53 AM




All times are GMT +1. The time now is 02:01 AM.