Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim LastDotPos as long
dim WBName as string wbname = wb.name lastdotpos = instrrev(wbname,".") if lastdotpos 0 then wbname = left(wbname,lastdotpos-1) end if tempfilename = "part of " & wbname & .... Seanie wrote: Thanks Guys, sometimes its 3 and others 4 I could edit between both but to keep my code standard, can I build that in? It will only ever be xls or xlsm -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code to create dbase file from text file? | Excel Discussion (Misc queries) | |||
code to check file size everytime an Excel file is opened | Excel Programming | |||
Code in one workbook to call code in another XL file | Excel Programming | |||
Import VBA Code in Excel-File ? (Export VBA Code to file) | Excel Programming | |||
Deleting code in a file with code.. | Excel Programming |