Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spreadsheet that has a different number of rows every week. Based on
the number of rows, I would like excel to perform functions such as Vlookup and Days 360, in the empty columns. How do I get the functions to appear only when there are records in the corresponding columns? Here is what I have. Not sure where I should insert where to put my formulas and how ? Worksheets("ARO").Unprotect With Sheets("ARO") Range("B8").CopyFromRecordset RST End With DoEvents RST.Close Worksheets("ARO").Protect DoEvents Worksheets("ARO").Unprotect Sheets("ARO").Select Cells(2, 1).Value = "Report has been succesfully updated" DoEvents Cells(2, 1).Font.ColorIndex = 1 DoEvents Cells(2, 1).Font.Bold = True DoEvents Worksheets("ARO").Protect Exit Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Delete records when certain records have duplicate column data | New Users to Excel | |||
draw 999 x 8 random records from file with 8614 records | Excel Programming | |||
how can I use functions limited to selected records when autofilte | Excel Discussion (Misc queries) | |||
Expand Excel to more than 65,536 records - please! | Excel Discussion (Misc queries) | |||
excel functions and User defined functions | Excel Programming |