LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 123
Default Copy text from cell and paste it in a separate text box (contentsto be linked)

On Dec 13, 2:40*pm, "Don Guillett" wrote:
See if this helps. It is using a table with the name of the shape in col a
and the text in col B

Sub NameShapes()
Sheets("yoursheetnamehere").Select
For Each c In [setup!a4:a15]
*ActiveSheet.Shapes(c).TextFrame. _
*Characters.Text = c.Offset(0, 1)
Next c
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"andreashermle" wrote in message

...



Dear Experts:


With some cells *in a colum selected (say 10 selected cells in a
column: contiguous range) I would like a macro to copy the contents of
these cells and paste the contents of each cell in separate text
field.


Now here it comes. The pasted contents in the text field should be
linked to the cell contents, i.e. whenever the cell's contents is
changed, the contents of the text field should reflect this. Is this
feasible?


Help is much appreciated. Thank you very much in advance.


Regards, Andreas- Hide quoted text -


- Show quoted text -


Hi Don,

thank you very much for your terrific help. I am afraid to tell you
that your macro throws error messages. I take from your statements
that I have not been exact in stating my requirements. I will
endeavour to do so. I try to keep it quite simple:

Example (Excel 2007):
Sheet 1 contains two cells with data entered:

A1: Mary
A2: John

With these two cells selected I would like a macro to create two
linked text boxes (text box to be created from "Insert"-"Shapes"-"Text
Box"). The text boxes that got created by that macro have got the
following cell references: = A1 and = A2, respectively (to be seen in
the formula bar when the respective text box is selected!).

Help is much appreciated. Thank you very much in advance. Regards,
Andreas
 
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
Copy cell contents, then paste into the same cell with other text. bluenote31 Excel Discussion (Misc queries) 4 February 9th 10 09:18 PM
Copy contents of a cell and paste it into text field andreashermle Excel Programming 1 December 12th 09 01:46 PM
Can I copy cell contents to an autoshape as text using a macro? Syndrome Excel Programming 1 July 11th 06 01:16 PM
How do I copy the contents of a range of text cells and paste into one cell? davfin Excel Discussion (Misc queries) 7 July 4th 06 08:16 AM
Open multiple text files and paste contents to single cell [email protected] Excel Programming 1 October 19th 05 04:05 PM


All times are GMT +1. The time now is 07:41 AM.

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"