Hi,
I have a VBA code that works fine in my computer, but if i run it in another one, it reports me an error regarding a non-declared variable, for example:
´Function guardar() fileSaveName = Application.GetSaveAsFilename(fileFilter:="Ficheiros Excel (*.xls), *.xls", Title:="Guardar Como...") If fileSaveName = False Then Exit Function Else ActiveWorkbook.SaveAs Filename:=fileSaveName, FileFormat:=xlNormal End If End Function
It points to "fileSaveName" as an error!
What can i do, so that i mustn't change avery cases like this?
Bookmarks