Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to write a program to go through just the
selected sheets in a workbook and then loop through the selected cells in each sheet. Sub Replace2() Dim c As Object, sht As Worksheet For Each sht In 'Is there a way to get an array of 'the sheets that are selected. For Each c In sht.Selection 'I thought this is how 'you get the range of 'selected cells. Debug.Print c Next c Next sht End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
tabs are missing even though 'tools-options-view-sheet tabs' ok? | Excel Worksheet Functions | |||
Printing Selected Sheet Tabs | Excel Discussion (Misc queries) | |||
Email selected tabs of spreadsheet? | Excel Discussion (Misc queries) | |||
how do i make it so that when a sheat is selected either via link or tab, that xlLastCell is selected. the last on the sheet. | Excel Worksheet Functions | |||
Hide selected worksheet tabs | Excel Programming |