Click here to Skip to main content
16,016,580 members

Comments by Member 7940184 (Top 12 by date)

Member 7940184 21-Sep-11 0:56am View    
ThankQ for yor reply.Without any Settings is it possible?bcoz i want to run this excel in number of systems,changing settings in each and every system is not good..
Thanks in advance
Member 7940184 27-Jun-11 2:41am View    
Thanks for ur replies prerak,its working fine for some extent.
But i am having cells content>10 for some cells and<10 for some cells.I want whole name in the cell and format also should be correct.Is it possible to do it??great thanks for ur reply
Member 7940184 27-Jun-11 2:23am View    
Thanks for ur replies prerak,Its working fine for some extent.
But i am having cells content>10 for some cells and <10 for some cells.I want whole name in the cell and format also should be correct.Is it possible to do it??great thanks for ur reply
Member 7940184 24-Jun-11 3:04am View    
Error is coming at String() not at pad()
Member 7940184 24-Jun-11 2:59am View    
Call pad(Sheet6.Cells(j, i).Value, "", "Left", 10)

Sub pad(svalue, spad_text, stype As String, imaxsize)
Dim length
length = Len(svalue)
If stype = "Left" Then
svalue = String(imaxsize - length, spad_text) & svalue
else
svalue = Value & String(imaxsize - length, spad_text)
End If
End Sub

Error:Invalid procedure call or argument