Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I think I found one error bk.SaveAs Filename:=Folder & TEO_Appx_No_2.xls.Value You can't have a period in this line befroe the XLS. Excel will not let you put a period in the Textbox Name. I just tried and it gave me an error. Try the code without the last SaveAs statement. You want to create a string like this FName = "Spec " & TEO_No_1.vales & _ CLLI_Code_1.value & " " & _ CES_No_1.value & " " & _ TEO_Appx_No_2.value & ".xls" bk.SaveAs Filename:=Folder & FName Notice I put spaces between each of the entires. I have a space at the end of "Spec " -- joel ------------------------------------------------------------------------ joel's Profile: 229 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=165141 Microsoft Office Help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Seeing Text File Names when Saving Excel Files | New Users to Excel | |||
Seeing existing file names when saving | Excel Discussion (Misc queries) | |||
Look up Values from other file based on combo box's option | Excel Discussion (Misc queries) | |||
Saving file names in a different color | Excel Discussion (Misc queries) | |||
Saving file names in a different color | Excel Discussion (Misc queries) |