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 to write an excel =sumif formula with multiple conditions
ASP.NET How to get picture images to display...in a LISTVIEW?
Ubuntu 10.04 startup script
Windows XP OEM in a virtual machine
coins - why only side is shown
DMZ access to Public URL which NAT'ed to internal OWA host
Unix filler
Calendar Control in Excel 2003 VBA
What causes error "0x80070015" when connecting to bluetooth device in window 7?
SBS 2008 shared folder permissions problem - read only - need full control