Microsoft Office Forums

Go Back   Microsoft Office Forums > >

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

How do I output a special character to a specific cell(x,y) ?

For example, I am trying to use something like :

Selection.InsertSymbol Font:="Times New Roman", CharacterNumber:=9632, _
Unicode:=True

for a specific cell, but I can't get the line correct.

Thanks (again, today) !
Reply With Quote
  #2  
Old 01-31-2014, 01:04 PM
gmaxey gmaxey is offline How do I output special character to a specific cell (x,y)? Windows 7 32bit How do I output special character to a specific cell (x,y)? Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,422
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 Macro1()
  Selection.Tables(1).Cell(2, 3).Select
  Selection.Collapse wdCollapseStart
  Selection.InsertSymbol Font:="Wingdings", CharacterNumber:=-4022, Unicode:=True
  Selection.InsertSymbol Font:="Times New Roman", CharacterNumber:=9632, Unicode:=True
  'or
  Dim oRng As Word.Range
  Set oRng = Selection.Tables(1).Cell(1, 3).Range
  oRng.Collapse wdCollapseStart
  With oRng
    .Text = ChrW(&H25A0)
    .Font.Name = "Times New Roman"
  End With
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #3  
Old 01-31-2014, 01:26 PM
norwood norwood is offline How do I output special character to a specific cell (x,y)? Windows Vista How do I output special character to a specific cell (x,y)? Office 2000
Novice
How do I output special character to a specific cell (x,y)?
 
Join Date: Sep 2013
Posts: 23
norwood is on a distinguished road
Default

This is great. Thanks again for your help.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I output text to a specific cell (x,y)? norwood Word VBA 2 01-31-2014 08:43 AM
Display a label character in a data cell markg2 Excel 9 09-07-2013 05:56 AM
Print attachment when it arrive in specific folder with specific subject visha_1984 Outlook 1 01-30-2013 10:42 AM
How do I output special character 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

Other Forums: Access Forums

All times are GMT -7. The time now is 06:13 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