Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Two really easy questions
I have this code in excel (written in excel 97)
MyFile = Application.GetOpenFilename Myfile2 = Left(MyFile, Len(MyFile) - 2) & "rat" ActiveWorkbook.SaveAs filename:=Myfile2, FileFormat:=xlText There's a bit more in the middle but that is irrelevant, the two questions I have a 1) now I have upgraded to XP the left function doesn't work, what can I use instead? (or what reference do I need to tick) 2) Not really excel, but how do I do the equivalent in word? (the getopenfilename doesn't work in word). |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
View Questions and Answer to questions I created | Excel Discussion (Misc queries) | |||
call Module from MS Excel Object - Probably very easy VB questions | Excel Discussion (Misc queries) | |||
Dividing in excel easy questions | Excel Discussion (Misc queries) | |||
Easy (?) questions for setting up a database | Excel Discussion (Misc queries) | |||
Couple of hopefully easy questions | Excel Worksheet Functions |