Help Please on Select-case auto add new info
Closed
Laura
-
Nov 10, 2010 at 03:07 PM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Nov 11, 2010 at 10:13 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Nov 11, 2010 at 10:13 AM
Related:
- Help Please on Select-case auto add new info
- Vba select case like - Guide
- Grand theft auto v free download no verification for pc - Download - Action and adventure
- Facebook auto refresh - Guide
- 2007 microsoft office add-in microsoft save as pdf or xps - Download - Other
- Grand theft auto iv download apk for pc - Download - Action and adventure
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Nov 11, 2010 at 10:13 AM
Nov 11, 2010 at 10:13 AM
Hi Laura,
I have no experience with custom function, but wouldn't this work?:
Case 1: GetCiudad = Sheets("sheet2").Range("A1").Value
Case 2: GetCiudad = Sheets("sheet2").Range("A2").Value
Case 3: GetCiudad = Sheets("sheet2").Range("A3").Value
Case 4: GetCiudad = Sheets("sheet2").Range("A4").Value
Case 5: GetCiudad = ""
Case Else: GetCiudad ""
Best regards,
Trowa
I have no experience with custom function, but wouldn't this work?:
Case 1: GetCiudad = Sheets("sheet2").Range("A1").Value
Case 2: GetCiudad = Sheets("sheet2").Range("A2").Value
Case 3: GetCiudad = Sheets("sheet2").Range("A3").Value
Case 4: GetCiudad = Sheets("sheet2").Range("A4").Value
Case 5: GetCiudad = ""
Case Else: GetCiudad ""
Best regards,
Trowa