i am working on a project which requires me to spit out data from access onto an excel and then finally export into SQL after doing some calculations in excel. When i get the data from Access into excel i am using excel formulas like
=RIGHT(F87616,4)
and
=IFERROR(MID(F87616,1,FIND("-",F87616,1)-1),"")
Now, what i want to do is, replace this formula with result of these cells so that when i export from Excel to SQL, i can pick up this data as a string.
I know it may sound very confusing but basically i am trying to replace the formulas with the result that i would get after calculating values using the formulas. Any help is appreciated.
如果要对一个单元格特别执行某项操作,则可以执行range .Value(与range .Formula或range .FormulaR1C1相反,这两个方法都返回公式,而不返回结果)。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.