LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default Subtract named cells

Hi,

Please can somebody help me with the formula for named cells

Partial code.........

Set Exp6 = Cells(H, 3)
Set Exp7 = Cells(I, 7)


ActiveCell.Offset(0, 1).Formula = "=exp6-exp7"

I just get #Name?

Thanks

Darren

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200706/1

 
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
subtract 2 cells and get blank instead of 0.0 tpeter Excel Worksheet Functions 3 September 8th 08 07:53 PM
How do I make cells subtract? Robert[_3_] Excel Worksheet Functions 3 July 18th 07 11:40 PM
inserting a named range into new cells based on a named cell Peter S. Excel Discussion (Misc queries) 1 June 4th 06 03:53 AM
How can I subtract cells in a row wildfyre New Users to Excel 3 February 14th 06 07:26 PM
how to add or subtract from two cells into one labjr1231 Excel Worksheet Functions 2 September 6th 05 06:40 AM


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"