Solved

stop carriage return @ end of line

Posted on 2007-04-06
1
191 Views
Last Modified: 2013-11-27
HI
Small question
While printing text in TXT document through VB i want to stop carriage return at the end of line
0
Comment
Question by:Salalah_Port_Services
1 Comment
 
LVL 15

Accepted Solution

by:
Ryan_R earned 50 total points
ID: 18868704
Hi Salalah_Port_Services,

You can easily do this in VB by putting a semicolon at the end of the statement  (;)

ie:

Print #1, "This code WON'T have a carriage return after it";

(note the ; at the end)

Hope this helps

Ryan R
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now