Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Save/Open window

 
   Macintosh computer (Home) -> Excel RSS
Next:  Unwilling Buttons  
Author Message
Alex Archambault

External


Since: Jul 09, 2004
Posts: 2



(Msg. 1) Posted: Fri Jul 09, 2004 1:34 pm
Post subject: Save/Open window
Archived from groups: microsoft>public>mac>office>excel (more info?)

I have an Excel spreadsheet with lots of VBA code that lives in both
Mac/Windows environments very well.

What I want/need is a way to open a "Save As" style window that
will work in both Mac/Windows.

Any suggestions?

Thanks

 >> Stay informed about: Save/Open window 
Back to top
Login to vote
JE McGimpsey

External


Since: Mar 07, 2004
Posts: 2394



(Msg. 2) Posted: Fri Jul 09, 2004 3:09 pm
Post subject: Re: Save/Open window [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
apps RemoveThis @moroch.com (Alex Archambault) wrote:

 > I have an Excel spreadsheet with lots of VBA code that lives in both
 > Mac/Windows environments very well.
 >
 > What I want/need is a way to open a "Save As" style window that
 > will work in both Mac/Windows.
 >
 > Any suggestions?


The GetSaveAsFilename() works on both Mac and Windows, but the optional
FileFilter argument has different sytaces.

To use the FileFilter argument, you can use conditional compilation:

Dim vFileName As Variant
Do
#If Mac Then
vFileName = Application.GetSaveAsFilename( _
fileFilter:="TEXT")
#Else
vFileName = Application.GetSaveAsFilename( _
fileFilter:="Text Files (*.txt), *.txt")
#End If
If vFileName = False Then Exit Sub 'User cancelled
Loop Until vFileName <> ""
MsgBox vFileName

 >> Stay informed about: Save/Open window 
Back to top
Login to vote
Alex Archambault

External


Since: Jul 09, 2004
Posts: 2



(Msg. 3) Posted: Tue Jul 13, 2004 9:22 am
Post subject: Re: Save/Open window [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks this will work fine.

apps RemoveThis @moroch.com (Alex Archambault) wrote in message ...
 > I have an Excel spreadsheet with lots of VBA code that lives in both
 > Mac/Windows environments very well.
 >
 > What I want/need is a way to open a "Save As" style window that
 > will work in both Mac/Windows.
 >
 > Any suggestions?
 >
 > Thanks
 >> Stay informed about: Save/Open window 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How to save window preference in Excel for OSX - I wonder if it is possible to save the exact location of a maximised Excel window (at 150%) without having to drag it a little to the left every time I open a saved or new excel file? I'm using a 12" Powerbook and need all the screensspace I can ge...

Save button flickers in the "save as" window - We have several workstations in my department, all equipped with MS Office 2004, running on Mac OS X Tiger. One person experimented twice the following problem, with Excel sheets she received by e-mail. She can open the document and work with it, but whe...

Unable to save and open XLSX files - Hi all, I am having a problem with Excel 2008. Whenever I create a new XLSX worksheet and save it (using Excel 2008) I am unable to open it using Excel 2008. Excel 2007 is able to open it and says it is corrupted, but is able to recover the file...

Save As and Go - In Excel X I am atempting to do a Save As (saved from an earlier version)...however, the dialogue window does not give me a Save button. It has a Go button that just gives me a beep. This doesn't happen on all files. What gives? How can I do a Save As...

Save as PDF in VBA - In Excel after selecting Print, there is an option for Save as PDF. = However,=20 someone has noticed that there doesn't seem to be any way to access that = option in VBA. Does anyone know if it is supported in VBA? And if so, how to access it? Thanks
   Macintosh computer (Home) -> Excel All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]