Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Calculate number of rows and apply formula
I am writing an Excel 2002 template and need to reformat text data which is
initially copied into an empty sheet (Imported Data). The number of columns is constant, but the number of rows will vary. My second sheet (Converted Data) contains lookups or formulae to manipulate the text strings. These are all in row 2. The formulae in 'Converted Data' are copied down manually to match the number of rows in 'Imported Data', thus converting all of the data. How can I achieve this automatically using VBA? If I right click on the 'Converted Data' tab and 'View Code', I assume I can write the VBA code here .... Private Sub Worksheet_Activate() ' VBA code End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I apply a formula to multiple rows at the same time? | Excel Worksheet Functions | |||
setting a formula to apply to all rows in a column | New Users to Excel | |||
formula to apply concatenation to successive rows of data | Excel Worksheet Functions | |||
apply formula to other rows ... | Excel Discussion (Misc queries) | |||
Apply a simple formula to multiple rows? | New Users to Excel |