Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default AutoCorrecting in VBE ??

Hi;

Is there an AutoCompletion-like or AutoCorrect-like utility for VBE
that can be downloaded ??

I was wondering if there was an easy way to complete words in the
codeing window? Some variable names, text, and object names and
properties get tedious to type over and over. Either method
(AutoCompletion or AutoCorrect ) would go a long way towards reducing
typos.

If no one that you know of has created such an add-in, how can I create
macros that I can attach to accelerator keys in VBE only. The macros
would only be used to insert set text into the codeing of the code
window. I would want to easily change the text as my needs change.

All suggestions gratefully received.

Regards Bill

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default AutoCorrecting in VBE ??

Declare your variables and you'll be able to use ctrl-spacebar to complete the
variable name. If what you've typed isn't unique, you'll see a list of choices.

And if you declare your variables nicely:

Dim wks as worksheet
not
Dim wks as Variant
and not
dim wks as Object

You'll get the VBE's intellisense to pop up once you type the dot following the
variable name.

wks.
will show you a list of properties and methods to choose from.

ps.

I like to include upper and lowercase letters in my declarations:

dim NewWks as worksheet

Then if I type the variable name and it doesn't change case to match my dim
statement, I know that I mistyped my variable. (After you've finished typing
the line, that is.)

Bill wrote:

Hi;

Is there an AutoCompletion-like or AutoCorrect-like utility for VBE
that can be downloaded ??

I was wondering if there was an easy way to complete words in the
codeing window? Some variable names, text, and object names and
properties get tedious to type over and over. Either method
(AutoCompletion or AutoCorrect ) would go a long way towards reducing
typos.

If no one that you know of has created such an add-in, how can I create
macros that I can attach to accelerator keys in VBE only. The macros
would only be used to insert set text into the codeing of the code
window. I would want to easily change the text as my needs change.

All suggestions gratefully received.

Regards Bill


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i stop autocorrecting the date? katanator Excel Discussion (Misc queries) 2 February 21st 09 08:45 PM
Autocorrecting my Number imput GophsHcky5 Excel Discussion (Misc queries) 1 March 22nd 07 02:44 AM
stop autocorrecting (c) to copywright cheri_cat1357 Excel Worksheet Functions 2 January 24th 06 07:11 PM


All times are GMT +1. The time now is 07:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"