LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 158
Default Right justify a string

Suppose I have the following string variables:

s1 = "0000"
s2 = "13"

I would like to copy the contents of s2 and insert it
into s1 in a right justified manner. So, the final
result of s1 would be:

s1 = "0013"

Does anyone have any generalized solutions for this?

Thanks again!


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Justify across selection bfloyd Excel Worksheet Functions 1 March 23rd 10 08:02 PM
Justify distributed? Highland Cow Excel Discussion (Misc queries) 3 August 12th 08 10:55 PM
Justify? GeorgeJ Excel Discussion (Misc queries) 2 June 17th 08 08:48 PM
Excel Justify Brad Excel Programming 5 December 26th 07 09:29 PM
Series & Justify? Scorpionk88 New Users to Excel 1 August 1st 05 09:04 PM


All times are GMT +1. The time now is 04:02 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"