#1
|
|||
|
|||
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 ! |
#2
|
|||
|
|||
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 |
#3
|
|||
|
|||
Great ! Thank you !
|
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 to input the text of a cell into another cell automatically ? | Juliet | Excel | 1 | 03-15-2013 03:25 AM |
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 |