-
WSreimer
AskWoody LoungerSteve,
Your code worked beautifully. It did exactly as I requested. One of the powerpoints (in the middle of the pack) had to be left out because all after that one had truncated data (that file must of had internal problems).
No idea why, but easy to find the trouble maker.
I showed the result to the user and they were very very happy. Of course then they changed their story (“actually I wanted the datasheet AND the graph”). I did laugh and indicate that they could take it from here.Many many thanks!
Chuck
-
WSreimer
AskWoody LoungerSteve,
I look forward to trying it! Thanks so much for taking the time.
I do not have the time to do it manually for them and was nervous with the abilities of the person they were going to assign.
I will give your code a shot.Thanks again,
Chuck -
WSreimer
AskWoody LoungerHans,
I agree.
But since they asked, I figured I would ask…
(thanks for all the work you save people)Have a GREAT day!
Chuck -
WSreimer
AskWoody LoungerHere is the PowerPoint sample.
For some reason I am not able to send the ppt…. I will try a third time.
I get error message: Explanation: The request timed out before the page could be retrieved -
WSreimer
AskWoody LoungerEdited by Reimer -I figured out a way to do it. No need to waste time on reply, but THANKS
The macro runs GREAT and does exactly what the user wanted (then).
Now the user would like the macro to also save the data sheet that is in the same workbook as the charts, to the same directory the new charts are saved to. The naming convention can be the same as it is for the charts. There may be other sheets (blank or other uses) in the workbook. Since the tab name of the data sheet may change each time, I cannot test for Sheet name to determine which is the data sheet. I will just instruct the user to make sure the sheet active is the data sheet. But, I would like to change the code to determine if the active sheet is a chart or sheet and if it is a chart – warn the user to rerun the macro after making the data sheet active.
What is the VBA code to test the active sheet to see if it is a chart?Thanks
-
WSreimer
AskWoody LoungerHans,
Thanks!
It seemed to work fine but I was concerned about future issues. For next years budget, I will rebuild it just to be safe.Have a Great Day!
Chuck
-
WSreimer
AskWoody LoungerBrad,
Not sure why it hung. Did you change the macro to indicate the correct range?
Actually, Since Hans has replied -I would just listen to him…. (smile)chuck
-
WSreimer
AskWoody LoungerBrad,
Is a macro solution ok? I have one that I got from Hans:
Sub SelectDupes_hans()
‘ Source: Woody’s Lounge Post #485599 by Hans
‘ To get the unique entries: change > 1 to = 1, the code will select the
‘ cells containing unique values instead.Dim oRange As Range
Dim oCell As Range
Dim oSelect As Range
Set oRange = Range(“A27”).CurrentRegion
For Each oCell In oRange.Cells
If Application.WorksheetFunction.CountIf(oRange, oCell) > 1 Then
If oSelect Is Nothing Then
Set oSelect = oCell
Else
Set oSelect = Union(oSelect, oCell)
End If
End If
Next oCell
oSelect.Select
Set oSelect = Nothing
Set oCell = Nothing
Set oRange = Nothing
End SubIt selects all cells that are duplicates.
Hope this helps.
Chuck -
WSreimer
AskWoody LoungerFebruary 22, 2007 at 7:30 pm in reply to: Formula to access data on sheet named in Col A (Excel 2003 SP2) #1052947Hans,
THANK YOU!
(actually I tried indirect first but could ot get it to work and the help did not help me)Thank you for taking the time to help me out AGAIN!
(I just talked to the user -they are joyous)Chuck
-
WSreimer
AskWoody LoungerColin,
Open the workbook.
From the menu Select Window | New Window
Then from the Window menu Select Compare Side by side.
If you only see one workbook, make sure it is not set to Maximum size.
This works on Excel 2003 and I think it works on Excel 2000 as well.Chuck
-
WSreimer
AskWoody Loungersamareanna,
I checked Help on the GETPIVOTDATA and found this:
Returns data stored in a PivotTable report. You can use GETPIVOTDATA to retrieve summary data from a PivotTable report, provided the summary data is visible in the report.Note You can quickly enter a simple GETPIVOTDATA formula by typing = in the cell you want to return the value to and then clicking the cell in the PivotTable report that contains the data you want to return.
I tried it in your workbook and it seemed to work fine. You can also then look at the structure of the formula to see where yours is different.
Chuck
-
WSreimer
AskWoody LoungerJerry,
Thanks.
Good to have (prints nice too).
Have a great weekend.chuck
-
WSreimer
AskWoody LoungerJerry,
The link fails for me too.
-
WSreimer
AskWoody LoungerHans,
We made the changes to the setting you mentioned. We still got errors.
It turns out the Excel file, that was embedded, was corrupt. When we deleted that and opened the Word doc, we did not get the error message.
So we created a new Excel table and inserted into the Word doc. Now it works whether we change the settings you mentioned or not.
Thank you for all the help you so freely give!
I love this site.Chuck
-
WSreimer
AskWoody LoungerHans,
Thanks. We will give it a try.
Chuck
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Woody (Awaiting moderation)
by
Scott
3 hours, 28 minutes ago -
24H2 has suppressed my favoured spider
by
Davidhs
5 hours, 46 minutes ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
13 hours, 42 minutes ago -
MS Office 365 Home on MAC
by
MickIver
7 hours, 31 minutes ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
1 day, 3 hours ago -
Flash Drive Eject Error for Still In Use
by
J9438
1 day, 5 hours ago -
Windows 11 Insider Preview build 27863 released to Canary
by
joep517
1 day, 22 hours ago -
Windows 11 Insider Preview build 26120.4161 (24H2) released to BETA
by
joep517
1 day, 22 hours ago -
AI model turns to blackmail when engineers try to take it offline
by
Cybertooth
1 day, 2 hours ago -
Migrate off MS365 to Apple Products
by
dmt_3904
1 day, 3 hours ago -
Login screen icon
by
CWBillow
17 hours, 28 minutes ago -
AI coming to everything
by
Susan Bradley
2 hours, 48 minutes ago -
Mozilla : Pocket shuts down July 8, 2025, Fakespot shuts down on July 1, 2025
by
Alex5723
2 days, 14 hours ago -
No Screen TurnOff???
by
CWBillow
2 days, 14 hours ago -
Identify a dynamic range to then be used in another formula
by
BigDaddy07
2 days, 15 hours ago -
InfoStealer Malware Data Breach Exposed 184 Million Logins and Passwords
by
Alex5723
3 days, 2 hours ago -
How well does your browser block trackers?
by
n0ads
2 days, 13 hours ago -
You can’t handle me
by
Susan Bradley
11 hours, 52 minutes ago -
Chrome Can Now Change Your Weak Passwords for You
by
Alex5723
2 days, 5 hours ago -
Microsoft: Over 394,000 Windows PCs infected by Lumma malware, affects Chrome..
by
Alex5723
3 days, 14 hours ago -
Signal vs Microsoft’s Recall ; By Default, Signal Doesn’t Recall
by
Alex5723
2 days, 17 hours ago -
Internet Archive : This is where all of The Internet is stored
by
Alex5723
3 days, 14 hours ago -
iPhone 7 Plus and the iPhone 8 on Vantage list
by
Alex5723
3 days, 14 hours ago -
Lumma malware takedown
by
EyesOnWindows
3 days, 2 hours ago -
“kill switches” found in Chinese made power inverters
by
Alex5723
3 days, 23 hours ago -
Windows 11 – InControl vs pausing Windows updates
by
Kathy Stevens
3 days, 23 hours ago -
Meet Gemini in Chrome
by
Alex5723
4 days, 3 hours ago -
DuckDuckGo’s Duck.ai added GPT-4o mini
by
Alex5723
4 days, 3 hours ago -
Trump signs Take It Down Act
by
Alex5723
4 days, 11 hours ago -
Do you have a maintenance window?
by
Susan Bradley
2 days, 16 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.