Solved

Word - Access

Posted on 2016-10-14
3
63 Views
Last Modified: 2016-10-30
Hello All
I have a .dat file that when opened in M/S Word, Notepad or WordPad doesn't recognize the carriage returns. There is a title "~" at the end of each row. I would like to do a edit/replace with a carriage return.
 
Also can i do it thru code?
I want to open it in ms Acc2010 thru code and process line by line.
Thanks in advance
0
Comment
Question by:frimy
3 Comments
 
LVL 19

Accepted Solution

by:
crystal (strive4peace) - Microsoft MVP, Access earned 500 total points
ID: 41844059
press Ctrl-H for the Find/Replace dialog box in Word

search: ~
replace: ^p

this can be done programmitically as well but it is just a simple Replace in each file.  How many files are there?
0
 

Author Comment

by:frimy
ID: 41844090
Crystal,

It works fine.
I have those files constantly.
How can do it programmatically?
Thanks
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 41844118
frimy,
See my comments in  your duplicate question:
https://www.experts-exchange.com/questions/28976506/Word-Access.html
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question