'
Sub Macro3()
'
'セル選択し、ボタンを押すと、Textboxを生成する
'
Set textbox1 = ActiveSheet.Shapes.AddTextbox(msoTextOrientationHorizontal, 50, 50, 100, 30)
textbox1.TextFrame.Characters.Text = ActiveCell
' textbox1.Fill.ForeColor.ColorIndex = 2
textbox1.Fill.ForeColor.RGB = RGB(255, 255, 0)
textbox1.Fill.Transparency = 1 '透明
En