Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Entering Almost Nothing

If I want to enter a null character in a cell, I:

1. enter ="" in A1
2. copy A1
3. select A2
4. paste/special/value

A2 will now contain the null (ISBLANK(A2) will display FALSE)

Is there any way I can accomplish this without using this cumbersome process?
--
Gary''s Student - gsnu200901
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Entering Almost Nothing

You could just type a single apostrophe in A2 (or does that not
count?).

Hope this helps.

Pete

On Aug 21, 5:01*pm, Gary''s Student
wrote:
If I want to enter a null character in a cell, I:

1. enter ="" in A1
2. copy A1
3. select A2
4. paste/special/value

A2 will now contain the null (ISBLANK(A2) will display FALSE)

Is there any way I can accomplish this without using this cumbersome process?
--
Gary''s Student - gsnu200901


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Entering Almost Nothing

I would rather not use a prefix character.

By the way, I can't even figure out how to do this in VBA without a
copy/paste!!!

Thanks for the reply
--
Gary''s Student - gsnu200901


"Pete_UK" wrote:

You could just type a single apostrophe in A2 (or does that not
count?).

Hope this helps.

Pete

On Aug 21, 5:01 pm, Gary''s Student
wrote:
If I want to enter a null character in a cell, I:

1. enter ="" in A1
2. copy A1
3. select A2
4. paste/special/value

A2 will now contain the null (ISBLANK(A2) will display FALSE)

Is there any way I can accomplish this without using this cumbersome process?
--
Gary''s Student - gsnu200901



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Entering Almost Nothing

Range("a10:a20")= CHR(39)

If this post helps click Yes
---------------
Jacob Skaria


"Gary''s Student" wrote:

I would rather not use a prefix character.

By the way, I can't even figure out how to do this in VBA without a
copy/paste!!!

Thanks for the reply
--
Gary''s Student - gsnu200901


"Pete_UK" wrote:

You could just type a single apostrophe in A2 (or does that not
count?).

Hope this helps.

Pete

On Aug 21, 5:01 pm, Gary''s Student
wrote:
If I want to enter a null character in a cell, I:

1. enter ="" in A1
2. copy A1
3. select A2
4. paste/special/value

A2 will now contain the null (ISBLANK(A2) will display FALSE)

Is there any way I can accomplish this without using this cumbersome process?
--
Gary''s Student - gsnu200901



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default Entering Almost Nothing

"Gary''s Student" wrote:
I would rather not use a prefix character.
By the way, I can't even figure out how to do this in VBA


I think you want a cell that is treated as text (specifically the null
string), but the cell contains no visible characters and no formula. TYPE()
should return 2, LEN() should return 0, and ISBLANK() should return FALSE
(or perhaps that's what you want to determine).

If you are content to change the cell format to Text, then:

range("a1").numberformat = "@"
range("a1") = ""

If you want to preserve the original format (e.g. General), then:

oldform = range("a1").numberformat
range("a1").numberformat = "@"
range("a1") = ""
range("a1").numberformat = oldform

I'd be interested in a simpler way. Neither of the following works:

range("a1") = ""

or

range("a1").value2 = ""


----- original message -----

"Gary''s Student" wrote in message
...
I would rather not use a prefix character.

By the way, I can't even figure out how to do this in VBA without a
copy/paste!!!

Thanks for the reply
--
Gary''s Student - gsnu200901


"Pete_UK" wrote:

You could just type a single apostrophe in A2 (or does that not
count?).

Hope this helps.

Pete

On Aug 21, 5:01 pm, Gary''s Student
wrote:
If I want to enter a null character in a cell, I:

1. enter ="" in A1
2. copy A1
3. select A2
4. paste/special/value

A2 will now contain the null (ISBLANK(A2) will display FALSE)

Is there any way I can accomplish this without using this cumbersome
process?
--
Gary''s Student - gsnu200901






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
Entering HH:MM Carole O Excel Discussion (Misc queries) 9 October 5th 09 09:56 PM
Entering Data need help Excel Discussion (Misc queries) 1 February 13th 08 07:04 PM
Entering Time Dave Excel Discussion (Misc queries) 6 February 9th 08 02:14 AM
entering a 0 before a number christielee Excel Discussion (Misc queries) 4 April 17th 07 09:22 PM
102. not entering the same as 102.00 Stacy Excel Discussion (Misc queries) 8 December 2nd 05 06:02 PM


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