0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Power Automate Desktopで全角・半角の変換をする

0
Last updated at Posted at 2026-03-14

概要

Power Automate Desktopには文字列を全角・半角に変換するアクションが標準で用意されていないので、スクリプトを実行する必要があります。

本記事では、全角・半角の変換をする方法を紹介します。
※Power Fxを有効化した状態で説明しています。

半角⇒全角の変換

「.NETスクリプト実行」アクションで、言語は「VB.NET」を指定しています。

outText =
Microsoft.VisualBasic.Strings.StrConv(inText,
Microsoft.VisualBasic.VbStrConv.Wide, 1041)

スクリプトパラメーターで、入力変数(In)と出力変数(Out)を設定します。

実行すると以下の結果になります。

全角⇒半角の変換

「.NETスクリプト実行」アクションで、言語は「VB.NET」を指定しています。

outText =
Microsoft.VisualBasic.Strings.StrConv(inText,
Microsoft.VisualBasic.VbStrConv.Narrow, 1041)

スクリプトパラメーターで、入力変数(In)と出力変数(Out)を設定します。

実行すると以下の結果になります。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?