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
help with robocopy syntax
Lightweight network management for mobile workforce
SSRS Combine two datasets into one data region - Must be in report not in SQL server
Network issue.
Excel 2007 Can Not Display Images From Web
No translation group found
How to enable error reporting in event viewer for IE 8
VB Script and QTP
Virtual Machine Activation
Manage Contacts in Active Directory / Exchange Distribution Lists