Results 1 to 10 of 10

VBA Out of Stack Space Error 28

Threaded View

  1. #1
    Registered User
    Join Date
    10-12-2015
    Location
    london
    MS-Off Ver
    2010
    Posts
    5

    VBA Out of Stack Space Error 28

    I have a drop down list with 8 options. When you select an option I want data from another sheet on the workbook to be copied and pasted onto sheet one. I have done this using 8 separate macro's I recorded. Any help would be great? See below my code:

    Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
    Application.ScreenUpdating = False
    
    Select Case Range("F11")
    
    Case "1. Texas Windstorm"
       Application.Run ("macro1")
    
    Case "2. Louisiana Windstorm"
       Application.Run ("macro2")
    
    Case "3. San Francisco EQ 6.7"
       Application.Run ("macro3")
    
    Case "4. San Francisco EQ 8.1"
       Application.Run ("macro4")
    
    Case "5. California Flood"
       Application.Run ("macro5")
    
    Case "6. North East USA Windstorm"
       Application.Run ("macro6")
    
    Case "7. Los Angeles Earthquake"
       Application.Run ("macro7")
    
    Case "8. South Korea Windstorm"
       Application.Run ("macro8")
    
    
    
    
    End Select
    Application.ScreenUpdating = True
    
    End Sub
    Last edited by Richard Buttrey; 10-13-2015 at 06:43 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Out of stack space error
    By lazyengineer in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-10-2015, 02:24 PM
  2. [SOLVED] Run TIme Error 28: Out of Stack Space
    By smciesl2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-22-2014, 01:21 PM
  3. Run Time Error 28: Out of Stack Space
    By Shanahan0 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-10-2013, 10:42 AM
  4. Run-time error '28' Out of stack space
    By pinkpantherksa in forum Excel General
    Replies: 1
    Last Post: 12-13-2012, 06:33 PM
  5. Excel Error: 28 Out of Stack space
    By AinMn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2010, 01:24 AM
  6. Out of stack space error
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-20-2008, 03:47 PM
  7. [SOLVED] 'Out of stack space' error on SaveAs
    By Tim in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-22-2005, 01:05 PM

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