Hi,
I deleted a row, how is it possible to get the row back?
the rows are now:
65
66
68
69
70
67 is missing. I have merged cells in my sheet. So it is really annoying if I am copying.
Hi,
I deleted a row, how is it possible to get the row back?
the rows are now:
65
66
68
69
70
67 is missing. I have merged cells in my sheet. So it is really annoying if I am copying.
Maybe You have hidden this row by mistake? Try this
Sub aa()
Rows.Hidden = False
End Sub
Regards
tom1977
If You are satisfied with my solution click the small star icon on the left to say thanks.
What can I say? Don't ever used merged cells.
If you have not saved or closed the workbook, you might be able to use Undo.
Failing that, you will probably need to re-constitute the row, perhaps from a backup or saved copy.
I tend to make regular copies of anything I am working on. Do you?
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
@tom: why a macro? It would be just as easy to do that manually. Easier, I suspect.
@TMShucks
to unhide all rows beside I like macrosvery much
Fair enough ... but you could just type rows.hidden=false in the Immediate window.
Or click on the intersection of the row and column headers to select all and choose Format | Hide & Unhide | Unhide rows
Seems a macro is a bit of overkill and then you'd have to remove the module if there was no other need for macros in order to save the file (given the profile is 2007).
But, whatever, I won't lose sleep if it does the job.
@TMShucks
I know I know
I have to tell You that my adventure with VBA started from such tiny code Maybe someone else will infect with VBA like me
regards and good luck
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks