× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Justification in Excel is not done with padding, it's a display attribute. So there is nothing different about the actual data in a left-justified cell vs. a right-justified cell.

It used to be that you could use apostrophe for left, quotation for right, and carat for center. Excel 2000, at least does not honor this, in my brief exploration. And such a character would end up in the data, as well - probably not what you want.

I think you'd need to pad with spaces. Trouble is, you don't know, in Excel by itself, how long a "field" is - no such concept in Excel, AFAIK. When importing data, I think leading blanks are trimmed - not sure - but they seem to remain if you enter them yourself. And probably if done programatically with a VBA module.

Maybe best, do the right justify with SQL or RPG on the 400.

HTH

Vern

At 12:54 PM 7/31/2003 -0500, you wrote:
I am trying to send data to a AS400 physical file from Excel using the "Send to Host" function in Client Access. Any suggestions on getting right justified fields to remain right justified in the receiving AS400 physical file???

Thank you,
Mary Lynn Riggins



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.