Dim s As Shape, sr As ShapeRange
Set sr = ActiveSelectionRange
Dim d As Variant, str As String
Set d = CreateObject("Scripting.dictionary")
For Each s In sr
If s.Type = cdrTextShape Then
str = s.Text.Story.Text
If d.Exists(str) = True Then
d.Item(str) = d.Item(str) + 1
Else
d.Add str, 1
End If
End If
Next s
str = "Text" & vbTab & vbTab & "Quantity" & vbNewLine
a = d.keys: b = d.items
For i = 0 To d.Count - 1
str = str & a(i) & vbTab & b(i) & "Strip" & vbNewLine
Next
str = str & "Total:" & vbTab & vbTab & d.Count & "Strip" & vbNewLine
Debug.Print str
ActiveDocument.Unit = cdrMillimeter
Dim s1 As Shape
x = sr.FirstShape.LeftX - 100
y = sr.FirstShape.TopY
Set s1 = ActiveLayer.CreateParagraphText(x, y, x + 90, y - 150, str, Font:="Khmer song")
End Sub
π1
Forwarded from KHTMFile πΎ
αααααΎαααααα‘α₯ αα»ααααΆα αααααααΌαααΆαα’αΆα
αααα·αααΆα αααααΆααααΆααααααΌααααα»αα’αααα α¬ααααα
ααΌα
ααΆαααααααααααααααΆααΆαααααα½α
β€1
ααααα
ααααΆα
αααααα ααΌααα·αα ααααααααααΌ α
αααα αα·ααααΆαα·ααα
ααΆα530ααααα αα·α 2ααΆααΆ ααΆααΆααααα αα·α ααΆααΆα’ααααααα
ααΆααααα»αααααΆαα α’αΆα ααααααααΆα
α’αΆαααααααΆα Chan's Arts αα αα·αααααΆααα½αααααΌα
ααααααα116 ααααΌα472 αααααααΌα 155
Telegram βοΈ069 201597
αααααΈαααΆα25ααααααααα»α
A book of kbach Khmer arts, painted by Chan Vittharin
530 pages and 2 languages, Khmer and English
In stock, can be ordered
Chan's Arts address near Toul Tom Poung market
# 116, St. 472, corner of St. 155
Telegram βοΈ069 201597
25 provinces and cities
ααΆα530ααααα αα·α 2ααΆααΆ ααΆααΆααααα αα·α ααΆααΆα’ααααααα
ααΆααααα»αααααΆαα α’αΆα ααααααααΆα
α’αΆαααααααΆα Chan's Arts αα αα·αααααΆααα½αααααΌα
ααααααα116 ααααΌα472 αααααααΌα 155
Telegram βοΈ069 201597
αααααΈαααΆα25ααααααααα»α
A book of kbach Khmer arts, painted by Chan Vittharin
530 pages and 2 languages, Khmer and English
In stock, can be ordered
Chan's Arts address near Toul Tom Poung market
# 116, St. 472, corner of St. 155
Telegram βοΈ069 201597
25 provinces and cities
ααααΌααα»ααΆααααααααααα’αΌαααααΌαααΆαααΆαα’αΆα
ααΆααααααααα 077 72 31 36 telegram
β€2