Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Insert data into a cell

I have a macro program to find a match. But here's what I want to do an
couldn't figure out how. The macro goes into the two columns and find
match. If it finds a match, I want to insert a 0, if not, insert a 1 i
that cell. Can anyone show me how to insert and 1 and 0 in this case?

Any help is appreciated.

ljCharli

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Insert data into a cell

Try using

Activecell.value = 0

or

Activecell.value = 1

depending on what you find.


Brad
-----Original Message-----
I have a macro program to find a match. But here's what

I want to do and
couldn't figure out how. The macro goes into the two

columns and find a
match. If it finds a match, I want to insert a 0, if

not, insert a 1 in
that cell. Can anyone show me how to insert and 1 and 0

in this case?

Any help is appreciated.

ljCharlie


---
Message posted from http://www.ExcelForum.com/

.

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
Insert Cell Data Into String sheller2346 Excel Worksheet Functions 2 July 7th 10 08:17 PM
How do I tell Excel to insert data from a cell 4 to the left? midnight_t Excel Worksheet Functions 1 March 6th 10 05:18 AM
FORMULAR TO INSERT DATA FROM ONE CELL TO ANOTHER Kanmi Excel Worksheet Functions 1 August 27th 09 10:52 PM
Insert ROW above a cell containing data GARY Excel Discussion (Misc queries) 1 April 28th 08 04:45 AM
insert cell data from one sheet to another arvinylPE Excel Discussion (Misc queries) 4 October 10th 07 10:39 PM


All times are GMT +1. The time now is 06:45 AM.

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

About Us

"It's about Microsoft Excel"