Solved

Word - Access

Posted on 2016-10-14
3
57 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create Excel formula on dynamic data 5 42
How to attach a folder from the desktop to an outgoing e-mail using Hotmail? 8 44
TSQL previous 5 33
stuck in average 16 47
This is written from a 'VBA for MS Word' perspective, but I am sure it applies to most other MS Office components where VBA is used.  One thing that really bugs me is slow code, ESPECIALLY when it's mine!  In programming there are so many ways to…
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…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

770 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