Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-24-2014, 11:35 PM
NobodysPerfect NobodysPerfect is offline Windows 95 WordBasic (!!!) macro Windows 8 Windows 95 WordBasic (!!!) macro Office 2010 32bit
Competent Performer
Windows 95 WordBasic (!!!) macro
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default Windows 95 WordBasic (!!!) macro

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
Reply With Quote
  #2  
Old 08-25-2014, 12:20 AM
macropod's Avatar
macropod macropod is offline Windows 95 WordBasic (!!!) macro Windows 7 64bit Windows 95 WordBasic (!!!) macro Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #3  
Old 08-25-2014, 12:37 AM
NobodysPerfect NobodysPerfect is offline Windows 95 WordBasic (!!!) macro Windows 8 Windows 95 WordBasic (!!!) macro Office 2010 32bit
Competent Performer
Windows 95 WordBasic (!!!) macro
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default

Hi Paul,

thanks for the links, I did not know the first one.

Quote:
Note that you'll need to install the appropriate WinHlp file, from:
http://support.microsoft.com/kb/917607/
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
Reply With Quote
  #4  
Old 08-25-2014, 01:54 AM
macropod's Avatar
macropod macropod is offline Windows 95 WordBasic (!!!) macro Windows 7 64bit Windows 95 WordBasic (!!!) macro Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #5  
Old 08-25-2014, 02:03 AM
NobodysPerfect NobodysPerfect is offline Windows 95 WordBasic (!!!) macro Windows 8 Windows 95 WordBasic (!!!) macro Office 2010 32bit
Competent Performer
Windows 95 WordBasic (!!!) macro
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 95 WordBasic (!!!) macro 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
Windows 95 WordBasic (!!!) macro Scan and edit doc in windows using Office 2000 on Windows 8 karenhaas Word 3 01-29-2014 12:23 PM
Windows 95 WordBasic (!!!) macro 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
Windows 95 WordBasic (!!!) macro Excel 2003 Macro compatibilty with Windows 7 Chayes Excel Programming 1 07-15-2012 09:05 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft