![]() |
#1
|
||||
|
||||
![]()
Hi. This code selects the range A5 to AQ50. I would like the code to select only the rows from A5 until the last row of a dynamic pivot table.
Code:
Dim lr As Long Range("A5:AQ5" & lr).Select Selection.Copy Thank you. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Select entire text and then de-select certain Headings? | tq94 | Word | 3 | 02-26-2022 03:47 AM |
![]() |
yacov | Word | 2 | 10-25-2020 02:53 AM |
![]() |
ArtKilp | Word VBA | 2 | 06-15-2020 06:44 PM |
![]() |
cosmicyes | Excel Programming | 1 | 07-09-2018 02:47 AM |
![]() |
aymanharake | Excel Programming | 3 | 02-18-2017 04:09 PM |