简体   繁体   中英

Insert Text to Activecell VBA

How do i insert a text named "Total" to a selected cell using VBA

I used

Activecell.Name="Total"
Selection.Name="Total"

But both of them is not working, is there any other way to do it?

您正在寻找的方法是以下任何一种:

ActiveCell.Value = "Total" ActiveCell.Value2 = "Total"

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