반응형

엑셀에서 convert함수를 이용해서 단위변환이 가능하다.

2022.01.11 - [엑셀] - convert 함수

 

convert 함수

convert 함수 https://support.microsoft.com/en-us/office/convert-function-d785bef1-808e-4aac-bdcd-666c810f9af2 CONVERT function Weight and Mass Weight and mass From_unit or to_unit Gram "g" Slug "sg"..

labellota.tistory.com

VBA를 공부하면서 한줄 코드로 화씨를 섭씨로 바꾸는 함수를 만들어 보자.

 

Function FtoC(DegF)
    FtoC = (DegF - 32) * 5 / 9
End Function

반응형

'VBA' 카테고리의 다른 글

VBA설정  (0) 2022.02.18
매크로 단축키 설정 방법  (0) 2022.02.17
Option Explicit를 입력하는 이유는 무엇일까?  (0) 2022.02.17
숫자 양식을 지수형식으로 설정하기  (0) 2022.02.17
반복문(for...next, do while ...loop)  (0) 2022.02.17

+ Recent posts