Wrox Programmer Forums
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 1st, 2009, 06: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
Old May 1st, 2009, 09:59 PM
Friend of Wrox
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts

Beep - ASCII Value 0007 corresponds to Bell Character.

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


Debug.Print Chr("0007")

using VBA

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

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

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

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.