Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Am trying to use code to insert an Excel table into a shape. Both the table
and shape exist in the same workbook; the table is defined by a range name. Using the following code I can insert the contents of one cell (P47, for example), but have been unable to figure out how to insert a table based upon a range name. Can someone advise on this please? Dim shp As Shape Dim sText As String Set shp = ActiveSheet.Shapes("Rectangle 308") sText = Worksheets("Tables for Pop-Ups").Range("P47").Text shp.TextFrame.Characters.Text = sText |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
insert a shape into spreadsheet | Excel Discussion (Misc queries) | |||
insert a shape in Excel | Excel Discussion (Misc queries) | |||
Macro or code to insert Shape (Say Smiley face) in XL? | Excel Programming | |||
my curser changed from arrow shape to a cross shape???? | New Users to Excel | |||
Insert a line or shape in a table | Charts and Charting in Excel |