サクラへの貼り付けは手動だよ
マクロ本文
UTF-8 BOM付で保存してね。
createInsetData.mac
//キーボードマクロのファイル
ReplaceAll('\\t', '\', \'', 38); // すべて置換
ReDraw(0); // 再描画
ReplaceAll('^', '\\t(\'', 38); // すべて置換
ReDraw(0); // 再描画
ReplaceAll('$', '\'), ', 38); // すべて置換
ReDraw(0); // 再描画
実行前後
これが
データ1 データ2 データ3
データ1 データ2 データ3
データ1 データ2 データ3
データ1 データ2 データ3
データ1 データ2 データ3
データ1 データ2 データ3
データ1 データ2 データ3
データ1 データ2 データ3
データ1 データ2 データ3
こうなる
('データ1', 'データ2', 'データ3'),
('データ1', 'データ2', 'データ3'),
('データ1', 'データ2', 'データ3'),
('データ1', 'データ2', 'データ3'),
('データ1', 'データ2', 'データ3'),
('データ1', 'データ2', 'データ3'),
('データ1', 'データ2', 'データ3'),
('データ1', 'データ2', 'データ3'),
('データ1', 'データ2', 'データ3'),