The closest code I've tried so far was found elsewhere on this site as the following... but that was for a user that wanted to specifically start with the third worksheet. I modified it to change Worksheets (3) to ActiveSheet, but then it still returns to worksheet 4. How can I just get it to select the current & subsequent sheets without specifying numbers? The ultimate goal is to be able to manually select a row to delete, click a macro button, and have it delete the selected row(s) through the remaining worksheets (leaving the previous worksheets intact). Then I'm going to need a separate one to insert a new row across the subsequent sheets too. I'm pretty new to vba coding - any help would be GREATLY appreciated!!! Thanks!
Code:
Sub Test() Dim x As Integer ThisWorkbook.Worksheets(3).Select For x = 4 To ThisWorkbook.Worksheets.Count Worksheets(x).Select (False) Next xEnd Sub</pre>
Code:
Sub Test() Dim x As Integer ThisWorkbook.Worksheets(3).Select For x = 4 To ThisWorkbook.Worksheets.Count Worksheets(x).Select (False) Next xEnd Sub</pre>