Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default programing reference worksheet

I have a question is just the sintax of the second part of this statment
:
Catalogo is aworksheet, Estimate is a worksheet
take the values from Estimate to Catalogo, programing, once is
calculated could vary, just is the sintax for the Estimate I dont know
if is & "Estimate" & or .....


Worksheets("Catalogo").Cells(IIRowC, 3).Value = "=SUM (" &
Estimate!(StartTotalCell) & ":" & EndTotalCell & ") + SUM ( " &
StartTotalCell & ":" & EndTotalCell & ") * " & FacIndi & "/ 100"

File Attached: http://www.excelforum.com/attachment.php?postid=320105 (duda.txt)

------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default programing reference worksheet

Hi

1) It should say Formula, not Value, since that's what you're entering. Excel will
mobilize her empathy and correct it, but still ...

2) Keep the sheet name in the formula sting, do not treat it as a variable:

Worksheets("Catalogo").Cells(IIRowC, 3).Formula = "=SUM (Estimate!" & _
StartTotalCell.Address & ":" & EndTotalCell.Address & ") + SUM ( " &

.... assuming StartTotalCell is a range, not a number that is.
--
HTH. Best wishes Harald
Followup to newsgroup only please.

"Alberto Guzman" wrote in message
...
I have a question is just the sintax of the second part of this statment
:
Catalogo is aworksheet, Estimate is a worksheet
take the values from Estimate to Catalogo, programing, once is
calculated could vary, just is the sintax for the Estimate I dont know
if is & "Estimate" & or .....


Worksheets("Catalogo").Cells(IIRowC, 3).Value = "=SUM (" &
Estimate!(StartTotalCell) & ":" & EndTotalCell & ") + SUM ( " &
StartTotalCell & ":" & EndTotalCell & ") * " & FacIndi & "/ 100"

File Attached: http://www.excelforum.com/attachment.php?postid=320105 (duda.txt)

------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly 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
Macro Programing ¿Confused? New Users to Excel 13 March 8th 07 07:23 PM
Programing max and mins into a spreadsheet akcaster Excel Discussion (Misc queries) 0 June 10th 06 01:30 AM
excel programing rlenz Excel Discussion (Misc queries) 2 April 18th 06 02:41 PM
help with excel programing drummerboy827[_4_] Excel Programming 1 September 27th 03 03:31 PM
programing book Matt Excel Programming 1 August 1st 03 08:21 PM


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