Microsoft
Software
Hardware
Network
Question : Easy answer for someone who knows VBA
Why does the following return 64?
Sub woho()
Range("b2") = Cells(Rows.Count).Row
End Sub
Answer : Easy answer for someone who knows VBA
Basically cells.count is the number of cells in the sheet.
SO if you divide by the number of columns you will get the value of the row on which the cells.count 'cell ' occurs. i.e. 64
Chris
Random Solutions
Windows 7 PC Going To Sleep When VSS Service Stops
Info@... users Not receiving email
sharepoint - performance tunning
Windows player for Twonky media server
Student Profiles
How to avoid error message when no record can be returned.
Spell Checker, ASP.NET
Adding a Line Break and Center Text in a Submit Button
Access idrac card in poweredge
"Cannot copy <file name>. The parameter is incorrect"