Insert text in cell using VBA

  • Thread starter Thread starter JockW
  • Start date Start date
J

JockW

Here's an easy one...
What code line can I add to a working macro which will add "some text" to
Sheet1 C2 when run?
 
Here's an easy one...
What code line can I add to a working macro which will add "some text" to
Sheet1 C2 when run?

Sub test()
Application.Worksheets("Sheet1").Range("C2") = "test"
End Sub

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top