Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-05-2016, 02:22 PM
macropod's Avatar
macropod macropod is offline How to insert text at specific location as bold Windows 7 64bit How to insert text at specific location as bold Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,367
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

I'd suggest:
Code:
Set Rng = Tbl.Cell(i, 3).Range
With Rng
  .End = .End - 1
  .Collapse wdCollapseEnd
  .Text = vbCr & "Abstract: "
  .Font.Bold = True
  .Collapse wdCollapseEnd
  .Text = StrTxt
  .Font.Bold = False
End With

__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 01-05-2016, 10:12 PM
PRA007's Avatar
PRA007 PRA007 is offline How to insert text at specific location as bold Windows 7 64bit How to insert text at specific location as bold Office 2010 32bit
Competent Performer
How to insert text at specific location as bold
 
Join Date: Dec 2014
Location: Ahmedabad, Gujrat, India
Posts: 145
PRA007 is on a distinguished road
Default

This is what I wanted
I tried but as .Collapse wdCollapseEnd was not came in my mind, Every text was getting normal instead of what desired.
Reply With Quote
Reply

Tags
wordvba



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to insert text at specific location as bold Text in #1 is made bold, rest of the document is edited, text in #1 is now not bold footer-assistance Word 1 06-29-2015 03:49 AM
How to insert text at specific location as bold Macro to Insert text into the beginning on specific paragraphs unless the paragraph is blank caboy Word VBA 2 04-01-2015 07:00 AM
How to insert text at specific location as bold Macro to insert multiple pictures to word to a specific size and text wrap mescaL Word VBA 3 11-03-2014 10:51 PM
Linking: Insert > Pictures to a specific folder location hockfam PowerPoint 0 11-08-2012 08:09 PM
Create Hyperlinks from Word to specific location in PDF sukanyae Word 0 02-25-2010 04:08 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:11 PM.


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