記事一覧


■ トップページへ ■

記事一覧のトップページを表示

dz02572i@yahoo.co.jp
WEBコンサルティング joomlaでホームページ制作 ブログパーツ制作
最新記事
検索 /google
Google


WWW を検索
ブログ内を検索
検索 / fc2
ランキング



カウンタ


フリーエリア

半角を全角に変換する / StrConv




[前の記事]
大文字を小文字に変換する / StrConv

[次の記事]
全角を半角に変換する / StrConv




≪前のページ| HOME | 次のページ≫




 [2008/10/04] 更新 
<--- 一覧へ戻る




[文字列の変換  StrConv / 半角 --> 全角]

081004.png

今回は半角を全角に変換するマクロです。





Private Sub CommandButton1_Click()

'========================
'vbWide 半角--->全角
'========================


Dim myStr As String
myStr = TextBox1.Text

TextBox2.Text = StrConv(myStr, vbWide)



End Sub

























関数 | 【2008-10-04(Sat) 09:47:21】 | Trackback(-) | Comments(-)
Ads by Google










[Key]
vbCrLf Chr(10) Chr(13) Application.WorksheetFunction.Max End(xlUp) ActiveCell.Row - 1 Cells(11,"B").Select Worksheet_SelectionChange UserForm Application.Wait Now() Application.Speech.Speak CreateObject("SAPI.SpVoice") voice.getdescription() Do While  TimeValue< Len vbNarrow Replace trim Until  Exit Do Like Right UBound Split vbLf ActiveSheet.Hyperlinks.Add Anchor Range GetVoices.Count voice.getdescription Item ColumnCount ColumnWidths  ColumnCount ColumnWidths Cells(10, "IV").End(xlToLeft).Column .PageSetup.PrintArea Label ComboBox CheckBox OptionButton ListBox vlookup NumberFormatLocal  Application.GoTo Reference:=Range("$B$4"), Scroll:=True ActiveSheet.ScrollArea = "A1:D65536"  Cells(1, "A").NumberFormatLocal = "yy/mm/dd" Selection.Delete Shift:=xlUp IsError Application.VLookup DoEvents Loop CriteriaRange AdvancedFilter Action:=xlFilterInPlace .SaveAs , xlCSVActiveSheet.Hyperlinks.Add Anchor:=Selection, Address< Dir(ThisWorkbook.Path & "\*") Set myRng = myData.Find(myWord, LookAt:=xlPart) Application.WorksheetFunction.Match InStr Left Mid Trim Replace StrConv vbNarrow ComboBox1.AddItem ListBox1.AddItem Like 'ActiveCell.Interior.ColorIndex = 37 Rows(ActiveCell.Row).Interior.ColorIndex = xlNone Selection.ClearContents Selection.Clear Range(Cells(myRow1, "A"), Cells(myRow2, "C")).ClearContents ActiveSheet.PageSetup.PrintArea = "$A$2:$C$10"