Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2010, 09:35 AM
matto matto is offline inserting a string of data into an MS Word table??? Windows 7 inserting a string of data into an MS Word table??? Office 2003
Novice
inserting a string of data into an MS Word table???
 
Join Date: Jul 2010
Posts: 1
matto is on a distinguished road
Default inserting a string of data into an MS Word table???


Hey!!

I've got a string that I've populated with data (from MSAccess...) and I want to insert this data into a table.

There are two columns (midwayish) in the table that this data should go into. I've got the first cell where data should go bookmarked as "police".

I've got a string called cops filled with the information as such (so far): "name" & vbTab & "number" & vbCr & "name2" & vbTab & "number2" (etc)

Now if there was a character that reprsented the arrow keys on the keyboard, I could simply replace vbTab with the Right arrow key, and vbCr with a Down and Left arrow key maneuver and that would be problem solved. But I don't know if this is possible.

If that were the case, this would be all I'd have to do:
Code:
.ActiveDocument.Bookmarks("police").Select
.Selection.Text = (cops)
Any ideas on how to do this?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
pivot table source data hannu Excel 0 07-03-2010 04:54 AM
inserting a string of data into an MS Word table??? extracting data from Table to text file Anirudh_Dsp Word Tables 1 05-23-2010 07:48 AM
inserting a string of data into an MS Word table??? inserting power point slides into Word MastanehJD Drawing and Graphics 6 11-08-2009 01:24 PM
inserting a string of data into an MS Word table??? Macro or Function to know wether a string is included in a text Eduardo Word VBA 5 06-15-2009 01:55 AM
Extract from String using Wildcard whousedmy Word 0 05-21-2009 01:35 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:41 AM.


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