Thread
:
How can you determine if a cell is formatted as a percent?
View Single Post
#
2
Posted to microsoft.public.excel.programming
Jan Karel Pieterse
external usenet poster
Posts: 535
How can you determine if a cell is formatted as a percent?
Hi Quartz,
I need a VBA method to determine if a cell is formatted as a percentage.
If InStr(ActiveCell.NumberFormat, "%") Then
MsgBox "Percentage"
Else
MsgBox "Other"
End If
Regards,
Jan Karel Pieterse
Excel MVP
www.jkp-ads.com
Reply With Quote
Jan Karel Pieterse
View Public Profile
Find all posts by Jan Karel Pieterse