Excel vba activecell.value为整数

时间:2015-08-11 17:35:12

标签: excel vba

我想将活动单元格的值设置为Yaxis2,但我找不到如何执行此操作。

Couldn't match type `Text.Digestive.Form.Internal.FormTree
                       m0 v0 m0 Recipient'
              with `Maybe Recipient -> Form T.Text m Recipient'
Expected type: Formlet T.Text m Recipient
  Actual type: Text.Digestive.Form.Internal.FormTree
                 m0 v0 m0 Recipient
Relevant bindings include
  recipientForm' :: Formlet T.Text m Recipient
    (bound at src/Handler/TradeNotifyConfirm.hs:191:1)
In the expression: Recipient <$> "email" .: text Nothing
In an equation for `recipientForm'':
    recipientForm' = Recipient <$> "email" .: text Nothing

这是我的尝试,但没有用。

1 个答案:

答案 0 :(得分:1)

如果您尝试将其设置为字符串,则需要将其用双引号括起来(&#34;)。

 ActiveCell.Value ="Yaxis2"