Update
Matt, to your updated post, change the code to this:
Function CleanName(strName As String) As String
'will clean part # name so it can be made into valid folder name
'may need to add more lines to get rid of other characters
CleanName = Replace(strName, "/", "") '-> only use strName the first time, since you are passing that string to the Function
CleanName = Replace(CleanName, "*", "")
CleanName = Replace(CleanName, ".", "")
CleanName = Replace(CleanName, "\", "") '-> if you use strName here, you lose your first 3 replacments
CleanName = Replace(CleanName, """", "") '-> this is the correct syntax to remove the "
'-> to Sid's point, this should work too
'CleanName = Replace(CleanName, Chr(34), "")
End Function
Since others are answering, I'll change my comment to an answer to join the party!
Try
CleanName = Replace(CleanName, """", "")
You need to surround the quote in double quotes to tell VBA you want to look for the actual actual quote and not the special character it automatically recognizes. (Daniel Cook's comment below touches on it as well.)
For the benefit of others, CleanName is a custom function that cleans strings of unwanted characters. See this link for more information: CleanName