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 find the nodes inteconnectivity is propperly configured
What does it mean if I am receiving output errors on all of my Cisco Aironet 1130AG?
Call a WCF Service from VBScript
Built-In Webcam Stopped Working on Lenovo ThinkPad
Access chart sorting
How to refer dynamically to specific pages in Indesign CS2
Popup not working in IE
Check entries from user with Javascript
Design issue, storing date from /proc
SUP7203B PFC incompatibility