Forum:Word macro help

I am currently trying to batch process academic references to put on a wiki. Can anyone write me a microsoft Word macro that would put an asterisk at the beginning of each reference on this list?

Abe, K., Morita, N., Senoh, E., & Shoji, M. (1994). Solvent abuse in children of homes for resocalization of minors: Journal of Mental Health No 40 1994, 19-27. Agbayewa, M. O. (1981). Psychiatric management of chronic solvent inhalations: A case presentation: Psychiatric Journal of the University of Ottawa Vol 6(2) Jun 1981, 114-116. Altenkirch, H., & Kindermann, W. (1986). Inhalant abuse and heroin addiction: A comparative study on 574 opiate addicts with and without a history of sniffing: Addictive Behaviors Vol 11(2) 1986, 93-104. Altenkirch, H., & Schulze, H. (1979). Glue-sniffing and neuropathology: Neurological findings and social data from 40 cases: Nervenarzt Vol 50(1) Jan 1979, 21-27. Altindag, A., Ozkan, M., & Oto, R. (2001). Inhalant-related disorders: Klinik Psikofarmakoloji Bulteni Vol 11(2) 2001, 143-148. Andrews, J. A., Tildesley, E., Hops, H., Duncan, S. C., & Severson, H. H. (2003). Elementary School Age Children's Future Intentions and Use of Substances: Journal of Clinical Child and Adolescent Psychology Vol 32(4) Dec 2003, 556-567. Anthenelli, R. M., Schuckit, M. A., Jaffe, J. H., Johnson, B. A., Strang, J., Shapiro, H., et al. (1991). Clinical syndromes. New York, NY: Tavistock/Routledge. Anthony, J. C., Warner, L. A., & Kessler, R. C. (1994). Comparative epidemiology of dependence on tobacco, alcohol, controlled substances, and inhalants: Basic findings from the National Comorbidity Survey: Experimental and Clinical Psychopharmacology Vol 2(3) Aug 1994, 244-268. Ballard, M. B. (1998). Inhalant abuse: A call for attention: Journal of Addictions & Offender Counseling Vol 19(1) Oct 1998, 28-32. Barnes, G. E. (1989). Gasoline sniffing in northern Canada. New York, NY: Plenum Barrett, M. E., Joe, G. W., & Simpson, D. D. (1991). Acculturation influences on inhalant use: Hispanic Journal of Behavioral Sciences Vol 13(3) Aug 1991, 276-296. Bates, M. E., & Convit, A. (1999). Neuropsychology and neuroimaging of alcohol and illicit drug abuse. Washington, DC: American Psychiatric Association. Bates, S. C., Plemons, B. W., Jumper-Thurman, P., & Beauvais, F. (1997). Volatile solvent use: Patterns by gender and ethnicity among school attenders and dropouts: Drugs & Society Vol 10(1-2) 1997, 61-78.

All help gratefully appreciated Dr Joe Kiff 09:50, 17 February 2008 (UTC)


 * Do a find & replace. Search for "^p" and replace for "^p *" (both without quotes) --Ciencia Al Poder (talk) -WikiDex 15:47, 17 February 2008 (UTC)

Brilliant - its so easy when you know how!! It will save me a lot of time. Many thanks Dr Joe Kiff 22:59, 17 February 2008 (UTC)

Replace string is out of sequence --help!
Hi, mavens. I’m trying to write a macro to fix page ranges, as in changing 703–9 to 703–709. My find string: ([0-9])([0-9])([0-9])–([0-9]). Replace with \1\2\3\–\1\2\4.

In the Notes (where I need it), this yields

480489–. instead of 480–484.

In a separate, test document, though, it works perfectly.

WHY is it spitting out the en-dash? I didn’t retype the stuff in the F&R box AT ALL.

I also tried using the ^= sign for the en dash; no difference. It still ends up in the wrong place, but ONLY on the endnotes document itself. Not in the test document, where it works a treat.

Oh, I also stripped out formatting from the endnotes, thinking something might be lurking unseen: no dice.

I'm stumped: can anyone give me a clue? Thanks! --Gail