+ Reply to Thread
Results 1 to 3 of 3

Opening Excel and Running a Sub

  1. #1
    Registered User
    Join Date
    09-21-2012
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Opening Excel and Running a Sub

    Hi
    I am very new to VBA and want to run a Sub I have written on "Sheet 1" when Excel opens. I have looked at many threads and have searched online but everything I try does not seem to work. I am very confused and any help would be appreciated.

    Thanks

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Opening Excel and Running a Sub

    Attach please your workbook
    If solved remember to mark Thread as solved

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,168

    Re: Opening Excel and Running a Sub

    You want to run the code when the particular file is opened or any file is opened?

    Does the code reside in an individual module or in the code window belonging to Sheet1?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1