Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Word VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Word VBA Discuss using VBA to program Word.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Word VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 1st, 2009, 07:24 AM
Registered User
 
Join Date: May 2009
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default CleanString - Beep?

Hi All

I am sure this is a silly question but ... the help page for the Word VBA CleanString Method refers to removing a 'beep' (Character code 7 - Removed unless preceded by character 13 (paragraph), tehn converted to character 9 (tab)). Please can someone tell me what the 'beep' character is?

Many thanks
Archie
Reply With Quote
  #2 (permalink)  
Old May 1st, 2009, 10:59 PM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Beep - ASCII Value 0007 corresponds to Bell Character.

You can check the character by typing Alt + 0007 in Word

or

Debug.Print Chr("0007")

using VBA

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
Reply With Quote
The Following User Says Thank You to Shasur For This Useful Post:
ArchieDog (May 2nd, 2009)
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Canceling beep on listview keydown katsarosj VB.NET 2002/2003 Basics 2 June 27th, 2005 11:41 PM
How to make it beep doctorsom .NET Framework 2.0 3 September 14th, 2004 12:38 AM



All times are GMT -4. The time now is 07:55 PM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.