Hi all,
Any help would be greatly appreciated.
I have a spreadsheet I use to document tasks, I use column B to give each task (row) a numeric number which only appears should I have a task heading entered in the adjacent column C row. I use as if formula in column B. Ideally I would like to change this formula to a numeric value on saving (or closing the workbook) should the relevant row in column C contain a value. I don't know if it possible to run a VBA like this. If this isn't possible I will use a short cut key or command button
I have managed to get something working for 1 row as below but I would like to extend this so it checks all rows automatically.
My VBA code is as below:
If Not IsEmpty(Range("C4").Value) = True Then
Worksheets("TASK SHEET").Range("B4").Copy
Worksheets("TASK SHEET").Range("B4").PasteSpecial Paste:=xlPasteValues
Application.CutCopyMode = False
End If
End Sub
I hope I have been clear with my predicament
Many thanks for reading
Phil
Any help would be greatly appreciated.
I have a spreadsheet I use to document tasks, I use column B to give each task (row) a numeric number which only appears should I have a task heading entered in the adjacent column C row. I use as if formula in column B. Ideally I would like to change this formula to a numeric value on saving (or closing the workbook) should the relevant row in column C contain a value. I don't know if it possible to run a VBA like this. If this isn't possible I will use a short cut key or command button
I have managed to get something working for 1 row as below but I would like to extend this so it checks all rows automatically.
My VBA code is as below:
If Not IsEmpty(Range("C4").Value) = True Then
Worksheets("TASK SHEET").Range("B4").Copy
Worksheets("TASK SHEET").Range("B4").PasteSpecial Paste:=xlPasteValues
Application.CutCopyMode = False
End If
End Sub
I hope I have been clear with my predicament
Many thanks for reading
Phil