LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Userform errors

I read through that and will try to make things clearer.
My OS is XP Pro, Excel is 2003
The VBA project helps prep daily agri-business data (unique
identifiers, names, addresses, count of product) from 14 corporations
(with 9 input styles) to give it all the same format so that it can be
further standardized and loaded to a web enabled tracking database. It
currently consists of ~2100 lines of code (and notes) and 5 userforms,
3 that are non modal single button "break" forms for user input on the
data sheets and 2 radio button forms for selecting which corporation
datasets to work on. The error I am getting occurs at the line to show
the last (and newest to this project) radio button form:

'.... this is the last 15 or so lines of
the 2nd to last sub
cdir = CurDir
ChDrive "T"
ChDir "T:\Groups\PAM\Meat Juice Lab\Meatjuice main mjjohn\Producer
Files"
Do
fname = Application.GetSaveAsFilename("save as 0 'alldate'", _
fileFilter:="Excel Files
(*.xls), *.xls")
If fname < False Then
If Dir(fname) < "" Then
fname = False
End If
End If
Loop Until fname < False
ActiveWorkbook.SaveAs Filename:=fname
ActiveWorkbook.Close
ChDrive cdir
ChDir cdir
PP15_01_03TypeFile_form.Show ' ERROR HERE with the original error
msg

End Sub

I found this morning if I set a breakpoint on one of the last few
lines in this sub I can step through and get the form. Otherwise it
errors.

Thanks again for any help.

On Nov 12, 5:09*pm, JLGWhiz wrote:
You should read this and then repost.

http://www.cpearson.com/excel/HintsA...roupUsers.aspx

Without code to analyze, any answer would be a guess.

 
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
Is there an easy Copy/Paste of a Userform ? (Entire Userform Including tx & cbx's) Corey Excel Programming 2 January 9th 07 01:01 PM
Excel Throwing Circular Errors When No Errors Exist MDW Excel Worksheet Functions 1 August 10th 06 02:15 PM
Loading Userform Errors 1004 Steven Cheng Excel Programming 4 April 5th 06 04:58 AM
Looping procedure calls userform; how to exit loop (via userform button)? KR Excel Programming 6 July 27th 05 12:57 PM
Unresolved Errors in IF Statements - Errors do not show in results Markthepain Excel Worksheet Functions 2 December 3rd 04 08:49 AM


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