PUGresources
New Member
- Joined
- Aug 6, 2019
- Messages
- 7
Hey all,
Currently I'm working on a question that i'd like to look like this:
[TABLE="width: 402"]
<tbody>[TR]
[TD]What is the value of the underlined digit in 8512?[/TD]
[/TR]
</tbody>[/TABLE]
The digit i'd like to underline is in cell X6 and the text string is in cell C9 (the formula for which is ="What is the value of the underlined digit in "&Y6&"?")
I'd like to have VBA code that is dynamic and picks up that i want "5" underlined from cell X6 and does it in cell C9.
I've also got a range of data (so, i'd like this to be applied to all of the range too) the value I want underlined from X6:X45 and the questions in the range C9:C48.
I found this about underlining in a string and tried to have a go myself, but I've got no idea how to adapt this as my vba is really not good enough!
Can anyone help please?
Currently I'm working on a question that i'd like to look like this:
[TABLE="width: 402"]
<tbody>[TR]
[TD]What is the value of the underlined digit in 8512?[/TD]
[/TR]
</tbody>[/TABLE]
The digit i'd like to underline is in cell X6 and the text string is in cell C9 (the formula for which is ="What is the value of the underlined digit in "&Y6&"?")
I'd like to have VBA code that is dynamic and picks up that i want "5" underlined from cell X6 and does it in cell C9.
I've also got a range of data (so, i'd like this to be applied to all of the range too) the value I want underlined from X6:X45 and the questions in the range C9:C48.
I found this about underlining in a string and tried to have a go myself, but I've got no idea how to adapt this as my vba is really not good enough!
Can anyone help please?