![]() |
#1
|
|||
|
|||
![]()
Hello!
I need a macro which starts with Word, when ever I open it, the macro should create two MS Word Documents for me in E: Drive, or the file names may be (file01.doc) and (file02.doc) the macro should have also two shortcut keys (Cntrl + D) and (Cntrl + H) When I am working on an MS Word Document, for example it has 300 pages, I am editing this file, that is some words which I am replacing them with some another ones, now I want from this macro whenever I select a word and press (Cntrl + D) the selected word should automatically adds to (file01.doc) on E: Drive, and when I select a word and press (Cntrl + H) the selected word should automatically adds to (file02.doc) on E: Drive.... everyone of these words which are added to those two files (file01.doc) and (file02.doc), should be in separate row or line. _______________________ now if the creation of two document files is a problem in macro so I will create it with these names and paths: (E:\file01.doc) and (E:\file02.doc). Now the second part of macro is left, selecting text and adding it to those two files by pressing two keys, if they become (Cntrl + D) and (Cntrl + H) so that will be ery good, and I by myself can't do that, because I don,t have experience in VBA, so thanks very very much fore any brother who had resolved my this problem. thanks |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Takket | Word VBA | 2 | 03-28-2014 04:58 PM |
Macro help | NEHicks503 | Excel | 0 | 04-16-2010 07:29 AM |
![]() |
HuaMin | Excel | 2 | 03-22-2010 08:11 PM |
Word macro | weezypenguin | Word | 0 | 02-25-2010 01:25 PM |
Macro Won't Save | lou0915 | Word VBA | 2 | 10-17-2009 08:13 PM |