LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Beginner at VBA

I'm beginning to teach myself VBA using Super-Easy Guide to the
Microsoft Office Excel 2003 Object Model
http://msdn.microsoft.com/library/de.../odc_super.asp

I'm stuck at the bottom of Lesson 4 where they are trying to show me
how to make Excel automatically run a macro when it starts up. The
timesheet macro runs fine by itself but when I put it in he
Private Sub Workbook_Open()
TimeSheet
End Sub
a window pops up that says:
Expected variable or procedure, not module

What am I doing wrong?

--
Bob Simon
remove both "x"s from domain for private replies
 
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
Beginner in excel Sarah Excel Discussion (Misc queries) 7 May 28th 07 06:51 PM
Excel Beginner, TSNS Excel Worksheet Functions 3 May 14th 07 03:00 AM
beginner chart abdo Charts and Charting in Excel 0 April 24th 07 09:58 AM
Beginner VBA question light Excel Programming 1 November 10th 04 01:44 PM
A beginner needs help with Excel and VB Mike[_90_] Excel Programming 1 October 13th 04 02:47 AM


All times are GMT +1. The time now is 02:25 PM.

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"