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: 345
Default Out of space stack error, simple code?

Am novice in VB. was trying to take baby steps.
The editcolb macro was hand edited, and was working in test mode on 1 cell
when I ran the macro from the macros dialog box.

Things went blooey when I tried to execute if from the private worksheet
coding area.

From the doc I know it's a system error, but I have no clue why I caused it.
Help! Thanks.


Sub EditColB()
Range("b5") = Trim(Range("b5"))
If Range("b5") < " " And Range("b5") < "" And _
Range("b5") < "3" And Range("b5") < "4"
Then MsgBox "Valid delivery codes a blank, 3, 4"
End Sub


Private Sub Worksheet_Change(ByVal Target As Range)
Application.Run "routemodel.xls!editcolb"
End Sub


--
Neal Z
 
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
Out of Stack Space error TheMilkGuy Excel Discussion (Misc queries) 2 July 22nd 09 05:54 PM
Out of Stack space - run time error 28 Rob Excel Discussion (Misc queries) 2 December 17th 07 04:55 PM
"Out of Stack Space" Macro Error Adam Excel Discussion (Misc queries) 3 July 2nd 07 07:10 PM
Out of Stack Space error JimFor Excel Programming 2 December 26th 04 08:41 PM
Run time error 28: Out of stack space Will Wirtz Excel Programming 1 April 27th 04 01:39 PM


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