vba

81 expert-verified Q&A posts in this category, sourced from the top-voted answers on Stack Overflow.

Solved May 13, 2012

Remove whitespace in VBA excel

I have some code for move text from cell to cell Dim startIndex As Integer Dim toIndex As Integer Dim f As String Dim…

thumb_up 11 trending_up 1
Solved April 24, 2012

excel vba: make part of string bold

I have excel cells which contain entries like this: name/A/date name/B/date name/C/date Cell content is displayed on multiple lines in the same cell. I…

thumb_up 7 trending_up 4
Solved March 20, 2012

Set a type in VBA to nothing?

I have defined a variable with an own type, say Dim point As DataPoint Public Type DataPoint list as Collection name as String number…

thumb_up 22 trending_up 17
Solved March 9, 2012

Reference excel worksheet by name?

I have the name of a worksheet stored as a string in a variable. How do I perform some operation on this worksheet? I…

thumb_up 8 trending_up 4