![]() |
|
|
|
#1
|
|||
|
|||
|
Hi to all, a friend of mine still uses Word 95 with some 'home-made macro recorder' macros. He now looks for a solution to use a string from the clipboard in a search and replace macro. Replace is easy (^c), but search is not. As I never used WordBasic I do not know how - assign a string to a variable - get a text object from the clipboard. If there is anyone who still knows WordBasic - or a good link - , please help Thanks NP |
|
#2
|
||||
|
||||
|
You might want to start with:
http://msdn.microsoft.com/en-us/libr...ffice.11).aspx You can also download the WordBasic help file from: http://word.mvps.org/FAQs/MacrosVBA/...icCommands.htm Note that you'll need to install the appropriate WinHlp file, from: http://support.microsoft.com/kb/917607/ See also: http://word.mvps.org/FAQs/MacrosVBA/WordDlgHelp.htm
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#3
|
|||
|
|||
|
Hi Paul,
thanks for the links, I did not know the first one. Quote:
I encountered this problem when changing from Windows XP to Windows 8.1.Unfortunately the WordBasic Reference Guide has no example on how to access the Windows clipboard. NP |
|
#4
|
||||
|
||||
|
I doubt you'd find such a process in WordBasic - even Word VBA doesn't have that (Word VBA needs an MS Forms Object Library reference to do it).
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#5
|
|||
|
|||
|
I fear so. I'm trying a workaround: paste - select - assign - delete.
It's a like a bad dream. The macro was recorded with a German Word and so is WordBasic - even with umlauts. I've never seen such a code before ... But I found a German - English WordBasic command list, so ist should work - somehow .NP |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Convert Ofc 2000/Windows XP OS docs to Windows 7 OS which has NO Ofc Version Loaded
|
mylittleturbott | Office | 2 | 03-17-2014 03:18 PM |
Scan and edit doc in windows using Office 2000 on Windows 8
|
karenhaas | Word | 3 | 01-29-2014 12:23 PM |
Macro works in Windows XP but not in Windows 7
|
Baldeagle | Word VBA | 3 | 09-30-2013 03:56 AM |
| macro works on windows, not on mac | iiiiifffff | Word VBA | 2 | 04-03-2013 12:42 PM |
Excel 2003 Macro compatibilty with Windows 7
|
Chayes | Excel Programming | 1 | 07-15-2012 09:05 AM |