Calculating from a previous cell if Blank
Closed
Trina
-
Aug 10, 2011 at 10:11 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Aug 25, 2011 at 09:53 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Aug 25, 2011 at 09:53 AM
Related:
- Calculating from a previous cell if Blank
- How to see previous downloads on safari - Guide
- If cell contains date then return value ✓ - Office Software Forum
- Based on the cell values in cells b77 ✓ - Excel Forum
- Excel: If Date =, then enter a value ✓ - Excel Forum
- Excel "IF" function w/ date in test cell ✓ - Excel Forum
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Aug 11, 2011 at 10:02 AM
Aug 11, 2011 at 10:02 AM
Hi Trina,
Try this macro to see if it fits your request.
Remember to save your workbook first.
Best regards,
Trowa
Try this macro to see if it fits your request.
Remember to save your workbook first.
Sub DeleteRow() Dim x As Integer Dim y As Integer x = InputBox("Please insert the row number you wish to delete:", "Delete row") y = Range("A" & Rows.Count).End(xlUp).Row Rows(x).ClearContents Range(Rows(x).Offset(1, 0), Rows(y)).Copy Rows(x).PasteSpecial Rows(y).ClearContents Application.CutCopyMode = False End Sub
Best regards,
Trowa
Aug 24, 2011 at 04:48 AM
Aug 25, 2011 at 09:53 AM
Could you upload your file using a filesharing site like www.speedyshare.com and post back the link.
Please re-explain what might occur and how you want Excel to react to it.
Best regards,
Trowa