Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Edit points, how to show that view at the end of a macro execution


Is it at all possible to, by an Excel macro, show the user the
individual points of a shape like they are shown when you manually
select the shape and then either right click and then "Edit points" or
click on "Draw" and then "Edit points"?
Like e.g. on Figure 31 (not 29) in this tutorial
http://www.canberra.edu.au/cts/train...k/exc09005.htm

I would like my macro to perform some actions on the shape and then
leave the command to the user to do the final manipulation (editing)
of some points of the shape without having the user to activate the
"Edit points view".
Any suggestions on how to do this without splitting up the shape?

larske

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 115
Default Edit points, how to show that view at the end of a macro execution

VBA doesn't expose the EditPoints method of the Shape class, but if you
select the shape, you can find it on the commandbar:

CommandBars("Drawing").Controls("Draw").Controls(" Edit Points").Execute

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

Lars-Åke Aspelin wrote:

Is it at all possible to, by an Excel macro, show the user the
individual points of a shape like they are shown when you manually
select the shape and then either right click and then "Edit points" or
click on "Draw" and then "Edit points"?
Like e.g. on Figure 31 (not 29) in this tutorial
http://www.canberra.edu.au/cts/train...k/exc09005.htm

I would like my macro to perform some actions on the shape and then
leave the command to the user to do the final manipulation (editing)
of some points of the shape without having the user to activate the
"Edit points view".
Any suggestions on how to do this without splitting up the shape?

larske


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Edit points, how to show that view at the end of a macro execution

That was exactly what I was looking for. Thank you very much!

Lars-Åke


On Sat, 10 Jul 2004 00:27:37 -0400, Jon Peltier
wrote:

VBA doesn't expose the EditPoints method of the Shape class, but if you
select the shape, you can find it on the commandbar:

CommandBars("Drawing").Controls("Draw").Controls( "Edit Points").Execute

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

Lars-Åke Aspelin wrote:

Is it at all possible to, by an Excel macro, show the user the
individual points of a shape like they are shown when you manually
select the shape and then either right click and then "Edit points" or
click on "Draw" and then "Edit points"?
Like e.g. on Figure 31 (not 29) in this tutorial
http://www.canberra.edu.au/cts/train...k/exc09005.htm

I would like my macro to perform some actions on the shape and then
leave the command to the user to do the final manipulation (editing)
of some points of the shape without having the user to activate the
"Edit points view".
Any suggestions on how to do this without splitting up the shape?

larske


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 115
Default Edit points, how to show that view at the end of a macro execution

Lars-Åke -

Glad to help!

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

Lars-Åke Aspelin wrote:

That was exactly what I was looking for. Thank you very much!

Lars-Åke


On Sat, 10 Jul 2004 00:27:37 -0400, Jon Peltier
wrote:


VBA doesn't expose the EditPoints method of the Shape class, but if you
select the shape, you can find it on the commandbar:

CommandBars("Drawing").Controls("Draw").Controls ("Edit Points").Execute

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

Lars-Åke Aspelin wrote:


Is it at all possible to, by an Excel macro, show the user the
individual points of a shape like they are shown when you manually
select the shape and then either right click and then "Edit points" or
click on "Draw" and then "Edit points"?
Like e.g. on Figure 31 (not 29) in this tutorial
http://www.canberra.edu.au/cts/train...k/exc09005.htm

I would like my macro to perform some actions on the shape and then
leave the command to the user to do the final manipulation (editing)
of some points of the shape without having the user to activate the
"Edit points view".
Any suggestions on how to do this without splitting up the shape?

larske




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro Execution C Brandt Excel Discussion (Misc queries) 2 July 13th 07 07:23 AM
DDE - View Pane and Allow Edit SSDLUE Excel Discussion (Misc queries) 0 February 1st 07 03:56 PM
How do view and edit ALL hyperlinks in a sheet? jrh11 Excel Discussion (Misc queries) 0 September 15th 06 11:46 AM
View/Edit CSV/Excel in HTML [email protected] Excel Discussion (Misc queries) 0 October 5th 05 06:05 PM
View/Edit Excel in HTML [email protected] Excel Discussion (Misc queries) 0 October 5th 05 06:04 PM


All times are GMT +1. The time now is 12:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"