CBFISH,
next macro will do that in a selection, p.e. Sheet1!A1:F12
Sub MakeCapital()
Range("Sheet1!A1:F12").Select
For Each cell in Selection
cell.Value = StrConv(cell.Value, 3)
Next
End Sub
That's all
Jan D.
Hello,
I'm looking for a function in VBA to present the first character of a word as a capital.
In the Dutch-version of Excel2000 exist the function "BEGINLETTERS(A1)" that presents the first characters of all words in cell A1 as a capital, and that's exact what I'm looking for.
But now, I will...
gapiesco,
I understood you're dividing by minutes. But why?
Your goal is a percentage of a month; my formula deals with minutes and seconds too, so y'll always get the exact percentage. Try it!
The solution for your problem is quite simple.
If you want your percentage in a cell, give this cell the percentage-format and the formula: '=AH12/30' (or 31 in p.e. january, or 28 in february). That's all!!
I,m using Excel2000 on 2 PC's, one with Win98SE (NL), and one with Win98SE (UK).
On both machines all Win regional settings and Excel format- options are the same. But on the machine with Win98SE (UK) an integer (p.e. 5) will allways be displayed as 0,05 in stead of 5.
Who knows what's the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.