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
How do I remove old servers from backup Exec?
builing a basic Advertise with Us Functionality!
Syntax error (missing operator) in query expression
Is there a page limit for crystal reports for export to pdf
Looking for Excel User Function not Text to Columns to Convert text values to date values.
server name
Display logon message to new users at first logon.
extending jQuery autocomplete plugin functionality
Perl Iteration issue
VB6 - crytl32.ocx - Windows 7 Ultimate 64bits: Cannot load !