Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-11-2018, 07:23 PM
macropod's Avatar
macropod macropod is offline How to read an inlineshape which is stored in a table cell Windows 7 64bit How to read an inlineshape which is stored in a table cell Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Try something based on:
Code:
Sub Demo()
Dim Rng As Range
Set Rng = ActiveDocument.Tables(1).Cell(1, 1).Range
Rng.End = Rng.End - 1
Documents.Add
ActiveDocument.Range.FormattedText = Rng.FormattedText
End Sub
or:
Code:
Sub Demo()
Dim Rng As Range
Set Rng = ActiveDocument.Tables(1).Cell(1, 1).Range.InlineShapes(1).Range
Documents.Add
ActiveDocument.Range.FormattedText = Rng.FormattedText
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read an inlineshape which is stored in a table cell Changing a spreadsheet from # stored as text to stored as #? markg2 Excel 11 02-10-2017 08:54 AM
How to read an inlineshape which is stored in a table cell Macro will not read the value of cell with a formula in it! grayson1231 Excel Programming 10 03-28-2015 03:47 PM
How to read an inlineshape which is stored in a table cell Read cell from one table into another donaldadams1951 Word VBA 2 02-04-2015 06:46 PM
How to read an inlineshape which is stored in a table cell Move table cell contents from one table to another table or cell in same table donaldadams1951 Word VBA 4 02-04-2015 03:54 PM
Easy send/save Excel data to Database Table or Stored Procedure TonyHarvard Excel 3 07-11-2012 12:43 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:16 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft