Closed Thread
Results 1 to 2 of 2

Controlling Excel from Word

  1. #1
    Registered User
    Join Date
    12-04-2008
    Location
    India, Trivandrum
    Posts
    1

    Unhappy Controlling Excel from Word

    Can anybody help me to solve this issue?

    I have lots of word document files for proofreading and I would like to keep a register in excel file for the completed documents. My excel file ‘myexcel.xls’ format should be like this.

    Sl. No. Word File Name Editing Proofreading
    1. Doc01.doc 1 1
    2. Doc02.doc 1 1
    3. Doc02.doc 1 1
    …..
    …..

    I need 3 macros to be written for Word for automatically updating the excel file within the word document.

    FileRegisterMacro, which is for inserting the word filename in my excel file without having duplicate entry. If possible this macro should automatically fill the Sl. No. column also.

    EditOverMacro, which is for inserting ‘1’ in the Editing column of the excel sheet as against the corresponding Word File name entry of the row

    ProffOverMacro, which is for inserting ‘1’ in the Proofreading column of the excel sheet as against the corresponding Word File Name entry of the row

    For Example if I run FileRegisterMacro within the word document named “Doc03.doc” immediately the program should open and check the myexcel.xls and insert “Doc03.doc” in the ‘Word File Name’ column if it is not found there. If the name already exists there no need to do anything with this macro.

    If I run EditOverMarco within the word document named “Doc03.doc”, this macro should search the entry named “Doc03.doc” in the excel sheet and it should put ‘1’ in the corresponding column (“Editing”) of that particular row.

    In the similar manner it should work for the ProffOverMacro.

    Please help me.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    This siye is for Excel

    I suggest you post on a site that deals with Word

    Here are a few sites that you could try
    They are not listed in any specific order

    http://www.thecodecage.com/
    http://vbaexpress.com/forum/
    http://www.theofficeexperts.com/foru...isplay.php?f=1
    http://word.mvps.org/index.html


    Thread closed
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1