Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-31-2014, 08:13 AM
norwood norwood is offline How do I output text to a specific cell (x,y)? Windows Vista How do I output text to a specific cell (x,y)? Office 2000
Novice
How do I output text to a specific cell (x,y)?
 
Join Date: Sep 2013
Posts: 23
norwood is on a distinguished road
Default How do I output text to a specific cell (x,y)?

I'm able to use "Selection.Tables(1).cells(x,y)" to set column of the cell, but how do I add text to this cell ?



I've tried using the "Selection.TypeText text " right after the above line without success.

Thanks !
Reply With Quote
  #2  
Old 01-31-2014, 08:18 AM
gmaxey gmaxey is online now How do I output text to a specific cell (x,y)? Windows 7 32bit How do I output text to a specific cell (x,y)? Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,421
gmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the rough
Default

Code:
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
Selection.Tables(1).Cell(x,y).Range.Text = "This is your text"
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #3  
Old 01-31-2014, 08:43 AM
norwood norwood is offline How do I output text to a specific cell (x,y)? Windows Vista How do I output text to a specific cell (x,y)? Office 2000
Novice
How do I output text to a specific cell (x,y)?
 
Join Date: Sep 2013
Posts: 23
norwood is on a distinguished road
Default

Great ! Thank you !
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating text output from PowerPoint picture/name slides bornslippy PowerPoint 2 12-05-2013 11:04 AM
How do I output text to a specific cell (x,y)? How to input the text of a cell into another cell automatically ? Juliet Excel 1 03-15-2013 03:25 AM
How do I output text to a specific cell (x,y)? Point to a specific cell ericerler Mail Merge 1 08-11-2011 05:31 AM
Insert an item to excel specific cell apjneeraj Excel 0 01-18-2011 03:39 AM
Auto-populate an MS Word table cell with text from a diff cell? dreamrthts Word Tables 0 03-20-2009 01:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:06 PM.


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