Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel - word

the problem i have is that most of the other people that i need this to work
with do not have access to MS Excel but every body has MS Word (WORK TASK)

I have to make a weekly/monthly workload allocation spreadsheet, which is
very basic i have their names as there tab name a list of tasks and sub
totals. and a final sheet that totals all tabs.

i have everybody email the weekly form to me in word format and i cut and
past special :- text to get excel to calculate figures, there are 17 people i
have to do this for

i have limited security level at work prompted to run macro's

Here is the question
With excel 2000/2003

How can i import there word data and input into the spreadsheet at there tab

Their Name is on the weekly Word Document which relates to their tab name

if someone could ste me on the right road, i manage to bring out the data
from a spreadsheet and put it into word, but i can not get it to work the
otherway round

cant find help with location in the word document?

--
John Hood
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 400
Default Excel - word

The format for importing data into Excel that has the least dependency on
other things is the CSV format. So, unless your source users are given Excel,
see if it possible for them to use NOTEPAD, available on all PCs. If you do
not know anything about CSV, look it up in the Excel help files.

If you have to use Word ...

-Word does not have data types; everything is text.
-In Excel you have workbooks, worksheets, ranges, cells etc; in word you
have documents, paragraphs, sentences, words, tables, bookmarks etc.
-If you like, research DDE; this may work but is tenuous.

Experiment with this:

Open one of the word documents--no other Word sessions exist. I'll assume
that the data you want to import are in tables.

Set WD=GetObject(,"Word.Application")
WD.ActiveDocument.Tables(1).Select

Rows=Selection.Rows.Count
Cols = Selection.Columns.Count

You now have the dimensions of the data in table 1. In orderto get the text,

data = wd.selection.text

As I mentioned, all data in Word is text.

The content of the table, data, contains the contents of the table; reformat
it and use array techniques to send the data to excel.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Excel count of 1 word if found in multi-word cells of column Function_Challenged Excel Worksheet Functions 1 August 27th 09 12:08 AM
Excel 7, paste linked to word becomes black when word pdf'd Surffreak Excel Discussion (Misc queries) 0 June 1st 08 12:17 AM
Copy from Word to Excel, and retain indent, plus word wrap Eric Excel Discussion (Misc queries) 1 March 9th 07 03:15 AM
Import cells from excel into word and create multiple word docs scdaddy7269 Excel Programming 2 March 20th 06 07:03 PM
Printing Word Document using Excel Programming hangs Word Alan Excel Programming 0 September 30th 04 08:41 PM


All times are GMT +1. The time now is 11:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"