#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Traima
 
Posts: n/a
Default Macros

How can I copy a ready formula in Excel into codelanguage for macros?

For shorter formulas (1 line (function) in Excel), it is possible to start
the recorder, activate the formula, and stop the recorder. Then the whole
formula is ready in code for macro. When I try to do this for a formula (4
lines), I get a message that the formula cannot be copied.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
arno
 
Posts: n/a
Default Macros

pls post the formula that is not working

arno
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Traima
 
Posts: n/a
Default Macros

The formula is:

=ROUNDUP(IF(H16="..";"";IF(H16="...";VLOOKUP(M16;A REA1;VLOOKUP(F16;AREA11;2)+11)+IF(E16120;0;0);IF( H16="...";VLOOKUP(M16;AREA2;VLOOKUP(F16;AREA22;2)+ 10)+IF(E16120;0;0);VLOOKUP(M16;AREA3;VLOOKUP(IF(F 16<1000;F16;ROUND(F16;;-2));AREA33;2)+10;FALSE)*IF(F16<1000;1;ROUND(F16;-2)/100))));0)

arno skrev:

pls post the formula that is not working

arno

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
arno
 
Posts: n/a
Default Macros

The formula is:

=ROUNDUP(IF(H16.....


I get a message that the formula cannot be copied.


me, too (XL 2002). I do not know a way around this, maybe sb. else.

arno
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
macros on one page frendabrenda1 Excel Discussion (Misc queries) 1 October 24th 05 12:18 PM
calling a series macros with a marco gerry405 Excel Discussion (Misc queries) 0 October 18th 05 01:23 PM
Protect macros? JulieD Excel Discussion (Misc queries) 6 August 25th 05 08:38 PM
Enabling macros Peter M Excel Discussion (Misc queries) 3 February 7th 05 10:57 PM
Transferring toolbars and macros to other computers Darrell Excel Discussion (Misc queries) 1 January 19th 05 12:21 AM


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