#1
|
|||
|
|||
Macro question
Hi
I am very new to Office and in particular to Word Macros. Using the record macro in word, I seem to be able to ask a question OK but if I just type the next question the all the questions are listed upon running the macro I want to create a macro that when run asks a question, then pauses while you insert the answer, then asks the next question etc etc. Would someone please explain in very plain English(!) if it can be done |
#2
|
||||
|
||||
Hi Paul,
At its simplest: Code:
Sub Demo() Dim strQ As String Question: strQ = InputBox("What is the Question?", "Examiner") If strQ <> "" Then GoTo Question End Sub Cheers, Paul Edstein [MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with a macro | Takket | Word VBA | 2 | 03-28-2014 04:58 PM |
need a macro that does the following | atomsk | Word VBA | 0 | 07-05-2010 07:29 AM |
I need a macro, who can help me? | Bahir Barak | Word VBA | 1 | 05-26-2010 12:24 AM |
Macro help | NEHicks503 | Excel | 0 | 04-16-2010 07:29 AM |
Categories question & replying with attachment question | glitzymama | Outlook | 0 | 03-15-2006 09:32 AM |