LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
View Questions and Answer to questions I created Roibn Taylor Excel Discussion (Misc queries) 4 July 24th 08 12:05 AM
call Module from MS Excel Object - Probably very easy VB questions Kevin Excel Discussion (Misc queries) 4 January 4th 08 02:32 AM
Dividing in excel easy questions HELP PLEASE HELP Excel Discussion (Misc queries) 3 November 9th 07 08:07 PM
Easy (?) questions for setting up a database roger_home Excel Discussion (Misc queries) 3 February 11th 06 05:47 PM
Couple of hopefully easy questions TeddyTash Excel Worksheet Functions 4 September 15th 05 10:55 AM


All times are GMT +1. The time now is 04:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"