Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() can someone please help me with the proper syntax. this is what i have Dim myfile As Variant Dim mypath As Variant mypath = "\\Server1\Users\jhocking\My Documents\" myfile = CStr(TextJobID.Value) ActiveWorkbook.SaveAs Filename:="mypath & myfile & ".xls" -- jhahe ----------------------------------------------------------------------- jhahes's Profile: http://www.excelforum.com/member.php...fo&userid=2359 View this thread: http://www.excelforum.com/showthread.php?threadid=47345 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
ActiveWorkbook.SaveAs Filename:=mypath & myfile & ".xls"
-- Regars, Tom Ogilvy "jhahes" wrote in message ... can someone please help me with the proper syntax. this is what i have Dim myfile As Variant Dim mypath As Variant mypath = "\\Server1\Users\jhocking\My Documents\" myfile = CStr(TextJobID.Value) ActiveWorkbook.SaveAs Filename:="mypath & myfile & ".xls"" -- jhahes ------------------------------------------------------------------------ jhahes's Profile: http://www.excelforum.com/member.php...o&userid=23596 View this thread: http://www.excelforum.com/showthread...hreadid=473457 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell("filename") doesn't update to new filename when do save as. | Excel Worksheet Functions | |||
set filename to <filename-date on open | Excel Worksheet Functions | |||
VBA - Syntax filename rangename for vlookup formula | Excel Programming | |||
Get filename | Excel Programming | |||
Saving filename same as import filename | Excel Programming |