简体   繁体   中英

Insert a Comment into Cell using [table_name[header]] - Method

How can i insert a Comment using this Method:

[tbl_name[header]].rows(x).AddComment "Comment" '<- Does not work
[tbl_name[header]].rows(x).AddComment.Text "Comment" '<- Does not work
[tbl_name[header]].rows(x).AddComment Text:="Comment" '<- Does not work
With [tbl_name[header]].rows(x).AddComment 
    .Text "Comment" '<- Does work but not by every insert
End With

Any suggestion? Best regards

I Already have been trying using this Topic but does not help or i can´t help myself:)

I found a solution.

With [tbl_name[header]].rows(x)
    .Value = "Something"
    .AddComment "Some Comment"
End With

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM