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


Hi Bernie,

Unfortunately there re other sheets in there. But they are numbere
like so: Sheet1, Sheet2, Sheet3 etc. The other 231 are name
differently. And unfortunately I got a syntax error from your code? An
ideas?

cheer

--
Josep

-----------------------------------------------------------------------
Joseph's Profile: http://www.excelforum.com/member.php...nfo&userid=563
View this thread: http://www.excelforum.com/showthread.php?threadid=26425

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Programming A formula

Joseph,

IF your sheets are arranged so that there aren't any Sheet1, etc. sheets
between the sheets you want to sum, then simply

MsgBox Evaluate("=Sum('First Sheet Name:Last Sheet Name'!B2)")

changing First Sheet Name to the actual sheet name of interest, etc.

The syntax error you received was probably due to the extra line break
inserted by our newsreaders.

HTH,
Bernie
MS Excel MVP

"Joseph" wrote in message
...

Hi Bernie,

Unfortunately there re other sheets in there. But they are numbered
like so: Sheet1, Sheet2, Sheet3 etc. The other 231 are named
differently. And unfortunately I got a syntax error from your code? Any
ideas?

cheers


--
Joseph


------------------------------------------------------------------------
Joseph's Profile:

http://www.excelforum.com/member.php...fo&userid=5637
View this thread: http://www.excelforum.com/showthread...hreadid=264258



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
Excel - Formula/Programming Ezra[_2_] Excel Worksheet Functions 1 May 19th 08 08:08 PM
Excel Formula / Programming Theresa Excel Discussion (Misc queries) 3 December 18th 07 05:00 AM
Excel Programming - Formula Assistance James D. Sheehan Excel Discussion (Misc queries) 7 December 11th 07 02:54 PM
Programming a simple formula anagaraj1 New Users to Excel 1 August 4th 05 03:32 PM
Programming A formula Joseph[_41_] Excel Programming 2 September 28th 04 04:36 PM


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