Is there a way to add comment to a cell in excel? I already detected the row and column but don’t know how to add comment. I read through smartsheet activities but it’s a bit complicated. Is there an Invoke Code or Invoke VBA ways to add comment?
Hey
for that you can use the balareva actitity
Regards
1 Like
Hey
Check this example
ExcelVBA.zip (9.5 KB)
Basically create a text file and add the following code
Sub AddComment()
Dim cell As Range
Set cell = Worksheets("Sheet1").Range("A1")
cell.AddComment "This would be your comment"
End Sub
Then just do a invoke VBA activity
call the txt file with the code and the Sub name that would be AddComment
hope this helps
Regards
How can I pass range to VBA? I tried and unable to pass. I have two variables: int_idx and str_Column. For example, int_idx is 25 and str_Column is “C”.
Is this correct file as it’s the same as before?
i made some changes to the init file, so it will replace the data and then create another file with the correct data that will execute the vba
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.