Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default "Automatically" get name of selected autoshape into formula? Impossible?

While I am editing a cell's formula, I would like to be able to select
an autoshape (in the same way that one selects a range) and somehow
have the name of that autoshape be inserted into the formula, just like
a selected range.

Is this simply impossible, or is there a way to coerce Excel to do this
using VBA?

Regards,

Wanders

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default "Automatically" get name of selected autoshape into formula? Impossible?

this may help
ActiveSheet.Shapes("Rectangle 1").Select
msgBox Selection.Name
========
Here is one I use to put text in the shapes from a list which may be of use

Sub NameShapes()
Sheets("checks").Select
For Each c In [setup!a4:a15]
ActiveSheet.Shapes(c).TextFrame. _
Characters.Text = c.Offset(0, 1)
Next c
End Sub
'With ActiveSheet.Shapes(1).TextFrame
' .Characters.Text = "abcdefg"
' .Characters(3, 1).Font.Bold = True
'End With

--
Don Guillett
SalesAid Software

wrote in message
ups.com...
While I am editing a cell's formula, I would like to be able to select
an autoshape (in the same way that one selects a range) and somehow
have the name of that autoshape be inserted into the formula, just like
a selected range.

Is this simply impossible, or is there a way to coerce Excel to do this
using VBA?

Regards,

Wanders



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
Automatically click "Update Links" & "Continue" paulharvey[_13_] Excel Programming 0 June 3rd 06 05:35 PM
Questionnaire sheet: Select "yes" or "no," and only one can be selected bpatterson Excel Worksheet Functions 2 April 13th 06 11:04 PM
if "a" selected from dropdown menu then show "K" in other cell LEGALMATTERS Excel Worksheet Functions 1 April 13th 06 06:05 PM
If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ... Maria J-son[_2_] Excel Programming 2 March 5th 06 12:20 PM
Highlight / "Selection" of AutoShape Text (Like SelStart for TextBoxes) James Cox[_2_] Excel Programming 0 May 18th 05 06:05 PM


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

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

About Us

"It's about Microsoft Excel"