Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Using the calculations of excel in a word macro

Is it possible to manipulate lines of a word document using cell
values created in an excel spread sheet (combine macros from both word
and excel?

At a first try in pasting part of an excel macro into word, the word
macro won't compile items from excel, such as range selection.

I'd like to create different versions of a test by changing the order
of the questions and the location of the correct response based on
tables created in excel.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Using the calculations of excel in a word macro

You need to create an excel object from word

Set exc = CreateObject("Excel.Application")
exc.Visible = True

" wrote:

Is it possible to manipulate lines of a word document using cell
values created in an excel spread sheet (combine macros from both word
and excel?

At a first try in pasting part of an excel macro into word, the word
macro won't compile items from excel, such as range selection.

I'd like to create different versions of a test by changing the order
of the questions and the location of the correct response based on
tables created in 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
Excel to run Word macro & Word returns value to be written in spreadsheet KS[_2_] Excel Programming 0 November 28th 06 05:33 PM
Need syntax for RUNning a Word macro with an argument, called from an Excel macro Steve[_84_] Excel Programming 3 July 6th 06 07:42 PM
WORD-DELIMITED string vba macro for excel/word jackal2k6 Excel Programming 3 December 23rd 05 04:32 PM
how to import Ms word Table to Ms Excel for Various Calculations reneabesmer Excel Worksheet Functions 1 August 3rd 05 09:06 AM
passing arguments from an excel macro to a word macro KWE39 Excel Discussion (Misc queries) 1 July 7th 05 03:56 PM


All times are GMT +1. The time now is 01:30 AM.

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"