File Save as not working

jm13

New Member
Joined
Sep 27, 2021
Messages
3
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi, I have probably a very simple question. When I click "File Save As" nothing happens when using excel in my MacBook Pro. I have no issues when using my other computer (Dell work computer).

Any suggestions? Thanks.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Since you are using SaveAs you probably are 'building' the path. Mac uses / as folder-separator against \ with Windows.
Change your macro to test your Operating System in use and add an If/Then/Else to manage the right folder-separator.
 
Upvote 0
Since you are using SaveAs you probably are 'building' the path. Mac uses / as folder-separator against \ with Windows.
Change your macro to test your Operating System in use and add an If/Then/Else to manage the right folder-separator.
Thanks for your response. Can you expand on what you mean by "Change your macro"?
 
Upvote 0
If it's true what Rollis is saying then something like this

VBA Code:
Sub jec()
 c00 = "C:\Users\xxx\Downloads\abc.xlsm"
 
 If Application.OperatingSystem Like "Mac*" Then
   ThisWorkbook.SaveAs Replace(c00, "/", "\"), 52
 Else
   ThisWorkbook.SaveAs c00, 52
 End If
End Sub
 
Upvote 0
If it's true what Rollis is saying then something like this

VBA Code:
Sub jec()
 c00 = "C:\Users\xxx\Downloads\abc.xlsm"
 
 If Application.OperatingSystem Like "Mac*" Then
   ThisWorkbook.SaveAs Replace(c00, "/", "\"), 52
 Else
   ThisWorkbook.SaveAs c00, 52
 End If
End Sub
HI, appreciate your help. This is beyond my "expertise" level. I was hoping the answer would be to click a box somewhere in settings, etc. I'll probably take your initial suggestion. Thanks again.
 
Upvote 0
If you are not specifying the path in VBA, Save as should work properly on a mac too. Weird issue
 
Upvote 0
Because He/She probably would have said: click menu "File" click "Save As..." but maybe Mac is different.
 
Upvote 0

Forum statistics

Threads
1,214,988
Messages
6,122,620
Members
449,092
Latest member
amyap

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top