アプリ版:「スタンプのみでお礼する」機能のリリースについて

グラフでデータラベルの追加をするとラベルが表示されますが、
ラベルの位置を右上とかにできる裏ワザはありますか?
VBAを使っても良いです。
標準では、中央、左、右、上、下しかありません。

A 回答 (2件)

VBAの例です。


グラフを選択しておいて実行してください。
(例1)
Dim ser As Series
Dim dlb As DataLabel
For Each ser In ActiveChart.SeriesCollection
With ser
.HasDataLabels = True
.DataLabels.position = xlLabelPositionCenter
For Each dlb In .DataLabels
With dlb
.Left = .Left + .Width / 2
.Top = .Top - .Height / 2
End With
Next
End With
Next
    • good
    • 0

 


ラベルをクリックすれば好きな位置に動かせますよ
 
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!