View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Mike Middleton Mike Middleton is offline
external usenet poster
 
Posts: 762
Default Translation of VBA from PC to MAC

alina b. -

If you don't get any assistance here, I suggest you post in the following
newsgroup:

microsoft.public.mac.office.excel

And, you could use the advanced search feature of Google Groups to see if
there are past newsgroup messages on this topic.

- Mike
www.mikemiddleton.com

"alina b." wrote in message
ups.com...
Hello,

I have the following code in my PC version that works without error,
could someone tell me how to modify it so that I can have it open in a
MAC version?

pathname = ActiveWorkbook.Path
Databasaefile = pathname & "\Database.XLS"
Workbooks.Open Filename:=Databasefile

Basically, for the third line it gives me a Run-time error. I believe
it doesn't recognize the pathname.

Thanks,
alina b.