Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming,comp.apps.spreadsheets
|
|||
|
|||
![]()
Hi. I am new to VBA. - as part of a custom function, I need to copy a
block of cells from one spreadsheet to another, based on the value in the first column. For example, if cell A1 = '1', then copy A2:A10 to new spreadsheet. What is the best way to do that? Also, the user selects a range, which would be the input to my function. How can I get the number of rows and columns in that range and how can I refer to individual cells from there? For example, my range is XY:ZH - I need to find out how many rows and columns are there.. and also how do I get to the cell that is, for example, 5 rows down, 2 columns right in my range? - something like X+2, Y+5 - how do I convert that to a cell address? Thank you very much.. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sum only specific cells based on value in adjacent cell | Excel Discussion (Misc queries) | |||
Block cell if specific condition exists | Excel Discussion (Misc queries) | |||
Copying a block of cells so that it updates automatically | Excel Worksheet Functions | |||
display a range of editible cells based on specific in another cel | Excel Discussion (Misc queries) | |||
how to color code a row of cells based on a specific cell value | New Users to Excel |