Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() With the code below I get a range of cells from different files and pu it in a new file named globalbook FName = Application.GetOpenFilename(filefilter:="Excel Files (*.xls) *.xls", _ MultiSelect:=True) ... For... ... ... globalbook.Worksheets("X").Cells(r, 1).Value = insertbook.Name r+1 ... The last line writes the name of each file on sheet X My problem is that I don't need the *.xls * to be written on shee X...*how can I easily trim the .xls from the filename? -- Zur ----------------------------------------------------------------------- Zurn's Profile: http://www.excelforum.com/member.php...fo&userid=1464 View this thread: http://www.excelforum.com/showthread.php?threadid=26314 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Remove Last x Character(s) in Selected Cells | Excel Worksheet Functions | |||
Remove selected data from a list | Excel Discussion (Misc queries) | |||
How to open files in order they were selected | Excel Discussion (Misc queries) | |||
Need to remove selected characters | Excel Discussion (Misc queries) | |||
Remove rows based on any selected criteria | Excel Programming |