Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How a macro auto-determine unspecified range


Hi,
I have some data in column a & b, but the nos of input is no
specified; in column c a formula a*b is made. Can anyone advise me ho
a macro to copy the formula to the range in column C that just match al
data in column a&b?
Thank you

--
eric
-----------------------------------------------------------------------
eric c's Profile: http://www.excelforum.com/member.php...fo&userid=1573
View this thread: http://www.excelforum.com/showthread.php?threadid=27254

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How a macro auto-determine unspecified range

How about a formula of

=IF(AND(A1<"",B1<"")A1*B1,"")

--

HTH

RP

"eric c" wrote in message
...

Hi,
I have some data in column a & b, but the nos of input is not
specified; in column c a formula a*b is made. Can anyone advise me how
a macro to copy the formula to the range in column C that just match all
data in column a&b?
Thank you.


--
eric c
------------------------------------------------------------------------
eric c's Profile:

http://www.excelforum.com/member.php...o&userid=15739
View this thread: http://www.excelforum.com/showthread...hreadid=272543



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
Unspecified Automation Error _Yoyo Excel Discussion (Misc queries) 1 May 23rd 05 08:23 PM
Unspecified Automation Error _Yoyo Excel Discussion (Misc queries) 0 May 20th 05 09:16 PM
Unspecified Automation Error _Yoyo Excel Discussion (Misc queries) 0 May 20th 05 02:06 PM
Copy cells with unspecified values to new sheet JRM Excel Programming 3 April 21st 04 09:34 AM
Auto Expend Range Using Macro taych Excel Programming 2 April 17th 04 07:50 AM


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