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
Is there a way to use the recovery partition to reinstall the OS if the drive won't boot or put it on a new hard drive?
XP Pro SP 3 - Ordinal 423 could not be located in the dynamic link library urlmon.dll
Sort columns in pivot table.
Cisco Switch not configured with TACACS asks for username?
Remote Desktop Connection to Windows SBS 2008
How to Use Abandoned Local Profile From Different Domain
set virtual host on Apache2.2 and PHP 5.3
Cannot renew IP address on WinXP
Read a Paradox database with a tool
Indexing of word 2007 files, break lines are removed