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
Domain trust between Windows Server 2008 R2 and Windows Server 2003
SQL 2008 upgrade creates two separate instances
Exchange 2007 OWA causes 2 audit failures on failed login attempt
jQuery Chained Select Boxes - Three Tiered ( third tier selected )
Server 2008 NLB problem
Ways to merge files in linux
VB.Net 2010: ResourceManager.GetObject fails with silent exception on x64
Spool problem in sqlplus
How to show the progress of record submission to the database dynamically in JSP
Could Linkserver provide me DB schema?