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
GP folder redirection. cant turn off
SQL Server 2008 Linked Server Error
SERVER C drive is running out of space
VB.Net Ineritance question
Self Signed Cert issues with Remote desktop
Mac Mini with Blu-Ray
Adding local storage to ESX 3.5
Freenas
Can Windows Server Standard 2008 FE be upgraded to Standard level without breaking Exchange 2007 SP1 currently installed?
Publish error when deployed to server