Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Turning off autocomplete for one cell only


I would like to turn off autocomplete for one cell only.

I understand that I can do this by having a blank line above and below the
cell and a blank column to the right and left of the cell. Is there any
another way??
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Turning off autocomplete for one cell only

This is for cell B9, adjust to suite:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Range("B9"), Target) Is Nothing Then
Application.EnableAutoComplete = True
Else
Application.EnableAutoComplete = False
End If
End Sub

This is worksheet event code and goes in the worksheet code area, not a
standard module.
--
Gary''s Student - gsnu200764


"Brad" wrote:


I would like to turn off autocomplete for one cell only.

I understand that I can do this by having a blank line above and below the
cell and a blank column to the right and left of the cell. Is there any
another way??

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Turning off autocomplete for one cell only

Thank you!

That was easy!

"Gary''s Student" wrote:

This is for cell B9, adjust to suite:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Range("B9"), Target) Is Nothing Then
Application.EnableAutoComplete = True
Else
Application.EnableAutoComplete = False
End If
End Sub

This is worksheet event code and goes in the worksheet code area, not a
standard module.
--
Gary''s Student - gsnu200764


"Brad" wrote:


I would like to turn off autocomplete for one cell only.

I understand that I can do this by having a blank line above and below the
cell and a blank column to the right and left of the cell. Is there any
another way??

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
Clearing the autocomplete list in a cell Mike K Excel Discussion (Misc queries) 1 June 12th 07 12:37 PM
How do I enable autocomplete numbers in cell ? sandeep Excel Discussion (Misc queries) 1 November 28th 06 03:08 PM
Turning #N/A into an empty cell Thansal Excel Discussion (Misc queries) 2 July 26th 06 04:49 PM
VBA Autocomplete [email protected] Excel Discussion (Misc queries) 0 January 11th 06 05:01 PM


All times are GMT +1. The time now is 02:32 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"