-
WSgchutrau
AskWoody LoungerAugust 9, 2004 at 7:38 pm in reply to: import and export freeform as XY in PPT ( PPT 2002 SP-2) #861983Because I will be importing several geographically referenced “freeforms” (polygons, > 50), I think I’d rather stick to doing the math while importing from the ASCII file. It should not be hard. Just getting X-Y min and max, slide size, setting a scaling factor, and one X-Y bulk shift for all of the polygons. I am not worried about that (I’ve set it up in excel already and made it work. With text concatenation in excel, I created most of the text macro that goes in ppt to create the polygons)
My second thought was about doing this entirely with excel rather than ppt. Loading the data into a spreadsheet and using the autofilter sounds cool too. But I don’t know if I would be able to select the polygons from a chart or graph, and highlight them automatically on the spreadsheet (selecting the polygons with my mouse by defining a rectangle). This part sounds to be easier in ppt than excel.
-
WSgchutrau
AskWoody LoungerAugust 9, 2004 at 7:38 pm in reply to: import and export freeform as XY in PPT ( PPT 2002 SP-2) #861984Because I will be importing several geographically referenced “freeforms” (polygons, > 50), I think I’d rather stick to doing the math while importing from the ASCII file. It should not be hard. Just getting X-Y min and max, slide size, setting a scaling factor, and one X-Y bulk shift for all of the polygons. I am not worried about that (I’ve set it up in excel already and made it work. With text concatenation in excel, I created most of the text macro that goes in ppt to create the polygons)
My second thought was about doing this entirely with excel rather than ppt. Loading the data into a spreadsheet and using the autofilter sounds cool too. But I don’t know if I would be able to select the polygons from a chart or graph, and highlight them automatically on the spreadsheet (selecting the polygons with my mouse by defining a rectangle). This part sounds to be easier in ppt than excel.
-
WSgchutrau
AskWoody LoungerAugust 9, 2004 at 11:05 am in reply to: import and export freeform as XY in PPT ( PPT 2002 SP-2) #861807As a VB begginer, I am learning a lot here!
I am trying to plot in power point some shapes or polygons I have in a map. The polygons have XY rectangular coordinates (Gauss Kruger). That’s why the numbers are so big. They are in meters, and I am mapping features that are km in size. So I re-scaled and shifted all of the nodes to fit them in the drawing area(with excel, but formulas are very easy to include in a ppt macro).
I see that, ppt could have a limitation from the point of view of canvas size and point location accuracy, if I wanted to edit an object and export to a map. So I’ve modified my project to do the following:
What I want to do now is plot a number of shapes from an ASCII file. Select some and delete. Write to an ASCII file the remaining shapes. So my workflow would be something like this:
1. Read an ASCII file
2. Locate Upperleft most and Lowerright most data points to define extent of “map” and scaling parameters to make the polygons fit the drawing area, without distortion or XY apect ratio change
3. Create the shapes reading the point data in ASCII format. The last column in my ASCII table has an ID # for each polygon. Name the shapes with that ID.
4. In ppt drawing area , select shapes and delete the ones I don’t need.
4. Read the list of remaining shapes.
5. Write a new ASCII file, including only the data (and shapes) that remains in the drawing area. In order not to loose the accuracy of the original XY’s, I would read the original ASCII data, locate the polygons by name and ID#
6. Write to a new ASCII, re-numbering the shapes or polygons in the new ASCII file from 1 to n.Next goal: to create the shapes from several ASCII files and merge them into a new , single, ASCII.
Why not do this in excel, in a spreadsheet? I want to be able to select the shapes in the drawing area, the way you do commonly in ppt (or any other drawing application). (Suggestions about doing this in excel only? that would be great too!)
Piece of cake! With what you have taught me, I should be able to do this right away.
-
WSgchutrau
AskWoody LoungerAugust 9, 2004 at 11:05 am in reply to: import and export freeform as XY in PPT ( PPT 2002 SP-2) #861808As a VB begginer, I am learning a lot here!
I am trying to plot in power point some shapes or polygons I have in a map. The polygons have XY rectangular coordinates (Gauss Kruger). That’s why the numbers are so big. They are in meters, and I am mapping features that are km in size. So I re-scaled and shifted all of the nodes to fit them in the drawing area(with excel, but formulas are very easy to include in a ppt macro).
I see that, ppt could have a limitation from the point of view of canvas size and point location accuracy, if I wanted to edit an object and export to a map. So I’ve modified my project to do the following:
What I want to do now is plot a number of shapes from an ASCII file. Select some and delete. Write to an ASCII file the remaining shapes. So my workflow would be something like this:
1. Read an ASCII file
2. Locate Upperleft most and Lowerright most data points to define extent of “map” and scaling parameters to make the polygons fit the drawing area, without distortion or XY apect ratio change
3. Create the shapes reading the point data in ASCII format. The last column in my ASCII table has an ID # for each polygon. Name the shapes with that ID.
4. In ppt drawing area , select shapes and delete the ones I don’t need.
4. Read the list of remaining shapes.
5. Write a new ASCII file, including only the data (and shapes) that remains in the drawing area. In order not to loose the accuracy of the original XY’s, I would read the original ASCII data, locate the polygons by name and ID#
6. Write to a new ASCII, re-numbering the shapes or polygons in the new ASCII file from 1 to n.Next goal: to create the shapes from several ASCII files and merge them into a new , single, ASCII.
Why not do this in excel, in a spreadsheet? I want to be able to select the shapes in the drawing area, the way you do commonly in ppt (or any other drawing application). (Suggestions about doing this in excel only? that would be great too!)
Piece of cake! With what you have taught me, I should be able to do this right away.
-
WSgchutrau
AskWoody LoungerAugust 6, 2004 at 6:17 pm in reply to: import and export freeform as XY in PPT ( PPT 2002 SP-2) #861157this is great help!
I’ll have to experiment with the code, and re-write my routines.
in PPT 2002, how do I get the XY coordinates of each vertice of the freeform, so I can export to a new ASCII in case I edit my freeforms? something like…
width selection.shape
width shape
for each vertice ………..?Thank you
-
WSgchutrau
AskWoody LoungerAugust 6, 2004 at 6:17 pm in reply to: import and export freeform as XY in PPT ( PPT 2002 SP-2) #861158this is great help!
I’ll have to experiment with the code, and re-write my routines.
in PPT 2002, how do I get the XY coordinates of each vertice of the freeform, so I can export to a new ASCII in case I edit my freeforms? something like…
width selection.shape
width shape
for each vertice ………..?Thank you
-
WSgchutrau
AskWoody LoungerI’m another happy lounger who has benefited from this code!
(8/5/2004)
SammyB is the man !!!!
-
WSgchutrau
AskWoody LoungerI’m another happy lounger who has benefited from this code!
(8/5/2004)
SammyB is the man !!!!
-
WSgchutrau
AskWoody LoungerWorks great !!
I added to my “drawing” toolbar as a button!!
Thank you very much!
-
WSgchutrau
AskWoody LoungerWorks great !!
I added to my “drawing” toolbar as a button!!
Thank you very much!
-
WSgchutrau
AskWoody LoungerSam:
Sorting would mean the position from front to back. The list you output in the userform is sorted according to that “layering”. I have the 4 “sorting” (bring to front, etc) toolbar control buttons in a customized bar , always displayed, and I can use them with your tool open, “Redraw” will refresh the sorted list.
I continued adding controls to your tool. I added a report/copy shape top-left X-Y coordinates, and a pasting to selected shapes option.For more extensive changes/additions, I would design a new tool. This one, as it is , has become my main “toolbox” for ceating/editing slides!
Check it out!
-
WSgchutrau
AskWoody LoungerSam:
Sorting would mean the position from front to back. The list you output in the userform is sorted according to that “layering”. I have the 4 “sorting” (bring to front, etc) toolbar control buttons in a customized bar , always displayed, and I can use them with your tool open, “Redraw” will refresh the sorted list.
I continued adding controls to your tool. I added a report/copy shape top-left X-Y coordinates, and a pasting to selected shapes option.For more extensive changes/additions, I would design a new tool. This one, as it is , has become my main “toolbox” for ceating/editing slides!
Check it out!
-
WSgchutrau
AskWoody LoungerReplaced code, and …
… it is getting even better!!!
Multiple selection is very important for sorting. With the userform as it is now, I can select multiple objects re-sort them, change properties (color, font size, etc). I can even use other macros. This is such a powerful tool because you can do all that, while keeping the tool open. The redraw button is not a problem.
Using excel sounds like a realy cool idea. If you implement the excel style dialog, there could be an error trap to tell the user that several items (rows) are selected (or none).
I modified the userform to include a “rename” button, and an “add alternative web text” button. I attached the modified file. Check it out.
-
WSgchutrau
AskWoody LoungerReplaced code, and …
… it is getting even better!!!
Multiple selection is very important for sorting. With the userform as it is now, I can select multiple objects re-sort them, change properties (color, font size, etc). I can even use other macros. This is such a powerful tool because you can do all that, while keeping the tool open. The redraw button is not a problem.
Using excel sounds like a realy cool idea. If you implement the excel style dialog, there could be an error trap to tell the user that several items (rows) are selected (or none).
I modified the userform to include a “rename” button, and an “add alternative web text” button. I attached the modified file. Check it out.
-
WSgchutrau
AskWoody LoungerWOW! your userform is very powerful as it is.
I’ll comment a an enduser (I still don’t know how hard or easy is to implement what I’m going to ask for…)
1. Tree view: this would look really cool! isn’t it too complicated? I would do the simpler things first
2. Multiple information column: very , very useful. I think of: Name, Web alt text, position of upper left corner , height widht
3a. Rename? YES!!!
3.b Resizeable userform? YES!!!
4 Live link-events: complicated…(?) the redraw button works fine for the time being!When I started using your userform, I wished it would read the web alt text, because I frequently use that to “name” objects since it is read by the “select multiple objects” PP tool. Renaming with one click to open the dialog box, would do the job too. May be the “web alt text” can be turned on/off for display in the userform, as any of the other information…
One feature I saw in another add in was copying the X – Y coordinates from an object and pasting them to others, to reposition all objects. That could be really easy to implement too…
The coolest thing would be to enable drag and drop, to resort the list…
But again, your userform works very well now. I think that displaying “web alt text” (probably a very simple modification to the VB) would make my day. Using the help I got from the lounge, I have an add-in to import pictures as files and making “web alt text” = filenames. That has helped me a lot in my work. If I could read those filenames in from your userform…
One problem: if a selection is made on lets say slide 1, and I go to slide 2 and don’t select anything, and call the userform, it will yield an error and trigger the de###### dialog. I avoid that by making sure each time I change slides, to select something first. May be an error trap would be needed there.
I wish I could program like you!. Thank you
![]() |
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
-
TUT For Private Llama LLM, Local Installation and Isolated from the Internet.
by
bbearren
1 hour, 33 minutes ago -
Upgrade from Windows 10 to 11
by
Holdsworth8
3 hours, 56 minutes ago -
Microsoft : AI-powered deception: Emerging fraud threats and countermeasures
by
Alex5723
6 hours, 46 minutes ago -
0patch
by
WSjcgc50
3 hours, 14 minutes ago -
Devices might encounter blue screen exception with the recent Windows updates
by
Susan Bradley
8 minutes ago -
Windows 11 Insider Preview Build 22631.5261 (23H2) released to Release Preview
by
joep517
9 hours, 46 minutes ago -
Problem opening image attachments
by
RobertG
11 hours, 20 minutes ago -
advice for setting up a new windows computer
by
routtco1001
1 day, 2 hours ago -
It’s Identity Theft Day!
by
Susan Bradley
6 hours, 22 minutes ago -
Android 15 require minimum 32GB of storage
by
Alex5723
1 day, 6 hours ago -
Mac Mini 2018, iPhone 6s 2015 Are Now Vintage
by
Alex5723
1 day, 7 hours ago -
Hertz says hackers stole customer credit card and driver’s license data
by
Alex5723
1 day, 7 hours ago -
Firefox became sluggish
by
Rick Corbett
1 day, 4 hours ago -
Windows 10 Build 19045.5794 (22H2) to Release Preview Channel
by
joep517
1 day, 11 hours ago -
Windows 11 Insider Preview Build 22635.5235 (23H2) released to BETA
by
joep517
1 day, 12 hours ago -
A Funny Thing Happened on the Way to the Forum
by
bbearren
9 hours, 12 minutes ago -
Download speeds only 0.3Mbps after 24H2 upgrade on WiFi and Ethernet
by
John
3 hours, 46 minutes ago -
T-Mobile 5G Wireless Internet
by
WSmmi16
9 hours, 53 minutes ago -
Clock missing above calendar in Windows 10
by
WSCape Sand
11 hours, 5 minutes ago -
Formula to Calculate Q1, Q2, Q3, or Q4 of the Year?
by
WSJon5
2 days, 2 hours ago -
The time has come for AI-generated art
by
Catherine Barrett
1 day, 6 hours ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
1 day, 16 hours ago -
23 and you
by
Max Stul Oppenheimer
1 day, 23 hours ago -
April’s deluge of patches
by
Susan Bradley
3 hours, 39 minutes ago -
Windows 11 Windows Updater question
by
Tex265
4 hours ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
3 days, 8 hours ago -
Registry Patches for Windows 10
by
Drcard:))
3 days, 13 hours ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
2 days, 19 hours ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
2 days, 5 hours ago -
Align objects on a OneNote page
by
CWBillow
3 days, 18 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.