Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default excel calculate problem, (try to refer to defined names?)


I have made an excel sheet as an example

All I want to do is when select the month in the drop down combo, add
up the next month and the rest off the cells the same so it this
example when selecting Januari it will be Januari(A8:A13) plus Februari
(B8:B13) and get the results underneath the result list as: F8=A8 + B8
and F9=A9+B9 and so on.
I Think there must be a simple way to display this but I don't know how
to refer in VBA to the Defined names (or how you call them) I have set
this but how do I use them in the code?

In column G you can see what it supose to do when Jan is selected

Anyone?

thanks


+----------------------------------------------------------------+
| Attachment filename: test ref.zip |
|Download attachment: http://www.excelforum.com/attachment.php?postid=360800|
+----------------------------------------------------------------+

------------------------------------------------
~~ 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,071
Default excel calculate problem, (try to refer to defined names?)

Maybe, someone else, especially from the excelforum web site, will look
at the file and provide you with a solution. However, I, for one, am
not inclined to follow a Usenet newsgroup post link to a zipped file on
a web site, download it, unzip it, and finally open an XL file that
*might* contain macros.

If you do not yet have the solution you want, consider describing the
problem in the text of the message -- without attaching a file.

--
Regards,

Tushar Mehta, MS MVP -- Excel
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...

I have made an excel sheet as an example

All I want to do is when select the month in the drop down combo, add
up the next month and the rest off the cells the same so it this
example when selecting Januari it will be Januari(A8:A13) plus Februari
(B8:B13) and get the results underneath the result list as: F8=A8 + B8
and F9=A9+B9 and so on.
I Think there must be a simple way to display this but I don't know how
to refer in VBA to the Defined names (or how you call them) I have set
this but how do I use them in the code?

In column G you can see what it supose to do when Jan is selected

Anyone?

thanks


+----------------------------------------------------------------+
| Attachment filename: test ref.zip |
|Download attachment: http://www.excelforum.com/attachment.php?postid=360800|
+----------------------------------------------------------------+

------------------------------------------------
~~ 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
How to refer to tab names? Rj Excel Discussion (Misc queries) 1 December 21st 09 08:31 AM
MS Excel, Location: Defined Names RJ@truecos Excel Worksheet Functions 1 September 17th 08 07:50 AM
display defined names in excel Mike C Excel Discussion (Misc queries) 3 March 14th 07 05:51 PM
Tranferring names defined in one excel workbook to another workboo Dinesh Excel Discussion (Misc queries) 1 July 1st 06 05:34 AM
some kind of meta-way to refer to sheet and file names in Excel? GoBobbyGo Excel Discussion (Misc queries) 7 February 22nd 06 03:05 PM


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