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 Contributor Last seen December 27, 2022 - Aug 25, 2011 at 09:53 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Contributor 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
- Different dates of "end to end encryption message" on blank chat? ✓ - Network Forum
- When you add someone to close friends can they see previous stories - Instagram Forum
- Insert a function in cell b2 to display the current date from your system. ✓ - Excel Forum
- Facebook page blank ✓ - Facebook Forum
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Contributor
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