Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default store cell contents and cell address for comparsion & suming

I am trying to in my macro to compare the GL acct #'s in the account column
and on change sum the amounts, using stored range adresses, in total column.

So i need to know how to store and compare cell contentsand cell addresses,
and then how to use the stored address in a sum sttement.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 441
Default store cell contents and cell address for comparsion & suming

Jim,

I have done what you are trying to do, and the best method I have found is
to copy the accounts, cell addresses, and balances into arrays. Then loop
through the arrays to compare the accounts. You can also produce subtotals
using arrays.

If you don't know how to work with arrays, learn! Use Excel help to begin
with. Then post specific questions in this forum. They are extremely
powerfull and fast for working with large amounts of data. Once you get the
hang of them, they are fast and easy to code as well.

Hope this helps.
"Jim Whelchel" wrote:

I am trying to in my macro to compare the GL acct #'s in the account column
and on change sum the amounts, using stored range adresses, in total column.

So i need to know how to store and compare cell contentsand cell addresses,
and then how to use the stored address in a sum sttement.

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
Return cell address of a cell based on contents of cell. Danny Excel Worksheet Functions 4 November 15th 08 03:11 AM
How do I store through a cell that contains a cell address in it? Big Gray Cat Excel Discussion (Misc queries) 2 September 4th 08 09:18 PM
store address in a cell and use it in formula gbalamani Excel Discussion (Misc queries) 1 April 17th 07 10:36 AM
Data Validation: Store cell address instead of value in the cell? WillW Excel Discussion (Misc queries) 1 January 31st 07 02:22 AM
Cell Comparsion (a bug?) kaon[_33_] Excel Programming 4 August 17th 04 12:38 PM


All times are GMT +1. The time now is 03:23 AM.

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"