Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting spreadsheets from Access database 1

Status
Not open for further replies.

JoanieB

Programmer
Apr 17, 2001
57
US
I know this is wrong, but I have received 5 different answers to this and none of them work!

objASht.Range("C1").Select
With Selection
?.Text = "DTC All Report"
End With

*Where objASht is the active sheet

How can I send the text value to the cell specified?
 
Hi!

Try this:

With objASht.Range("C1")
.FormulaR1C1 = "DTC All Report"
End With

I am assuming that you will need to do other things with objASht.Range("C1"). If not the just use objASht.Range("C1").FormulaR1C1 = "DTC All Report".

hth
Jeff Bridgham
 
You are the man! Such a little, stupid thing, but it's been driving me crazy all day!
You've helped me out before, so THANKS ALOT!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top