投稿日 | : 2006/01/18(Wed) 11:35 |
投稿者 | : タマネギ戦士 |
Eメール | : |
URL | : |
タイトル | : Re^7: エクセルのマージ |
もう1つ教えてください。
MergeArea.Widthで取得した値を他の列幅に指定したいんですが
If sht.Cells(x, y).MergeCells Then
sht.Columns("Z").Width = sht.Cells(x, y).MergeArea.Width
End If
的な感じでいけると思ったんですが
sht.Colmun("Z").Width = sht.Cells(x, y).MergeArea.Width
の部分でエラーがでてしまい実行できません
なにか方法あったらお願いします。