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 rename a file before saving it after uploading in c#
Want to add wireless to wired network
Error: "The site <sitename> could not be found in the Web application SPWebApplication Name=MOSS Parent=SPWebService"
exception : There are multiple root elements
How can I modify the Drupal comment module so that it does not include a homepage field?
New record, if field is empty, msgbox
How to hide a dummy date value.
unload view when switching tab
Batch printing word document to non-default printer
Create a distribution list based on a security group