RedsZone.com - Cincinnati Reds Fans' Home for Baseball Discussion  

Go Back   RedsZone.com - Cincinnati Reds Fans' Home for Baseball Discussion > Miscellaneous > Non-Sports Chatter

Reply
 
Thread Tools Display Modes
Old 09-19-2008, 02:28 PM   #1
RedsMan3203
Reds Slacker '07
 
RedsMan3203's Avatar
 
Join Date: May 2004
Posts: 3,783
Help with Excel and Macros

I'm creating a workbook for my work for simple inventory tracking... Its a daily and monthly update via email...

I've gotten the daily updates completed and working well...

The monthly updates have given me a fit... I'm creating a macro to handle each month...

Why? Because I'm not sure how to make the macro skip a row set each time it runs to copy/paste the information needed...

Right now I have this....

Private Sub Workbook_Open()
ChDir "C:\Documents and Settings\ssirefresh\Desktop"
Workbooks.Open Filename:= _
"C:\Documents and Settings\ssirefresh\Desktop\Outgoing Inventory FY09.xls"

Application.OnTime DateValue("2008/09/19") + TimeValue("13:52:10"), "OctMonthly08"
Application.OnTime DateValue("2008/09/19") + TimeValue("14:13:10"), "NovMonthly08"

End Sub


I have them set up to run at a certain time... Well as a test I tried my logic and it failed. They both are running when the workbook loads up.

Any ideas or help on this?

Thanks,

Nick
__________________
You think you got what it takes to play a real fantasy game? Join me at Jockstocks. You can play Baseball, Basketball, Football, Golf, Nascar and even Hockey!

Jockstocks Homepage

Do you have your shirt on? - Adam Dunn to Marty on the Bananna Phone.
RedsMan3203 is offline   Reply With Quote
Turn Off Ads?
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:35 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.

Board Moderators may, at their discretion and judgment, delete and/or edit any messages that violate any of the following guidelines: 1. Explicit references to alleged illegal or unlawful acts. 2. Graphic sexual descriptions. 3. Racial or ethnic slurs. 4. Use of edgy language (including masked profanity). 5. Direct personal attacks, flames, fights, trolling, baiting, name-calling, general nuisance, excessive player criticism or anything along those lines. 6. Posting spam. 7. Each person may have only one user account. It is fine to be critical here - that's what this board is for. But let's not beat a subject or a player to death, please.

Thank you, and most importantly, enjoy yourselves!

RedsZone.com is a privately owned website and is not affiliated with the Cincinnati Reds or Major League Baseball

Contact us: Boss | GIK | dabvu2498 | GADawg | Gallen5862 | LexRedsFan | mattfeet | MBZags | Plus Plus | redsfan1995 | The Operator | Tommyjohn25