April 7, 2011 at 5:15 am
.
April 7, 2011 at 6:19 am
manavairajan (4/7/2011)
Sub addsinglequte()For a = 1 To 60
Range("d" & a).Select
If Len(ActiveCell.Value) > 0 Then ActiveCell.Value = "''" & ActiveCell.Value & "',"
Next
End Sub
Is there a question in here somewhere? are you trying to do the same in TSQL? this looks like it is concatenating 60 cells into a comma delimited striung.
Lowell
April 7, 2011 at 7:09 am
Lowell (4/7/2011)
Is there a question in here somewhere? are you trying to do the same in TSQL? this looks like it is concatenating 60 cells into a comma delimited striung.
How do I put single quotes plus a comma around data in 60 cells in column D of a spreadsheet using VBA?
Far away is close at hand in the images of elsewhere.
Anon.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy