Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Without seeing the code.................shrug shoulders<g
Your code does a count and that count is displayed in a msgbox. Just redirect the count to a cell like count = Range("A1").Value Example code............. Sub sheets_num() MsgBox ThisWorkbook.Sheets.Count 'will display in msgbox Range("A1").Value = ThisWorkbook.Sheets.Count 'will be entered in A1 End Sub Gord Dibben MS Excel MVP On Wed, 4 Feb 2009 14:42:31 -0800, shaz0503 wrote: All Apologies about the title - hard to describe I have borrowed a terrific bit of code to count emails in specific folders; however the count result is only displayed in a message box - how do i get the result 'put' to a specific cell. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how can I have a message displayed when a spreedsheet is opened ? | Excel Discussion (Misc queries) | |||
How can I get a leading zero (ZIP code) to show in a LEFT() calc? | Excel Worksheet Functions | |||
Code to calc | Excel Discussion (Misc queries) | |||
auto calc on, but have to edit (f2) cells to force re-calc..help! | Excel Worksheet Functions | |||
No message box displayed | Excel Discussion (Misc queries) |