Solved

Word - Access

Posted on 2016-10-14
3
78 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 21

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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Outlook Free & Paid Tools
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.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 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