LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Macro to Count how many recordsbetween each hour interval?

Good work then !
I don't know your setup good enough to suggest how to deal with creation and
deletion of objects. But you can avoid all kinds of "do you really want to
?"-messages by doing

Application.DisplayAlerts = False
' code goes here
Application.DisplayAlerts = True

it means "I know what I do so don't ask".

HTH. Best wishes Harald

"nbaj2k" skrev i
melding ...

It worked perfectly, I didn't know you could do that with Pivot tables.

I have one more question. what I do is have a Macro and make a Pivot
table for the dates on a new worksheet. After I make it I want to take
out all of the headings and everything so it just looks like regular
data. What I have been doing is in the macro selecting the region
after I have it set the way I want then copying and pasting the values
onto another worksheet and deleting the sheet with the Pivot table on
it. It seems like there has to be an easier way. Plus when I delete
the page with the Pivot table on it, even when I automate it, it stops
and asks me to delete the page since there are values in the Pivot
table, I have to click yes everytime. I'm trying to make this process
for someone and I really don't want to have that in there.

If I can change it so I don't have to delete the table that would be
great, or if I can make it so that it does not ask me to confirm
anytime that would be be fine too.

Any ideas?

Thanks a whole lot!

~J


--
nbaj2k
------------------------------------------------------------------------
nbaj2k's Profile:

http://www.excelforum.com/member.php...o&userid=36480
View this thread: http://www.excelforum.com/showthread...hreadid=562821



 
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
help needed with excel, need to count the number ofpeople here each hour. Simon Wells Excel Worksheet Functions 1 October 13th 08 09:40 PM
How to use count for calls per hour kg New Users to Excel 1 September 20th 08 03:56 PM
Hour Count EliA Excel Worksheet Functions 4 June 25th 08 10:17 PM
How to count hours- and multiply with my wage per hour... Sofus Excel Discussion (Misc queries) 4 February 4th 07 10:34 PM
Count by date and hour ChristiaanV Excel Worksheet Functions 4 August 12th 06 12:26 AM


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