开发者

Adding a '%' after each value automatically

开发者 https://www.devze.com 2023-01-05 18:23 出处:网络
I\'m not a huge fan of formatting cells as a percent in Excel because it automatically multiplies the value by 100.

I'm not a huge fan of formatting cells as a percent in Excel because it automatically multiplies the value by 100.

I want to write my own VBA function that looks for a change in value in a particular cell and adds a '%' to the end of it.

How can I write some 开发者_开发知识库code to look for changes automatically?


Change the format string to 0\%.
The \ escapes the percent character and prevents Excel from multiplying it by 100.

0

精彩评论

暂无评论...
验证码 换一张
取 消