E
Ekser
Thank you so much!
I was sure there must be a way to do this dinamically, what's the us
of programming otherwise?!
Still, it seems pretty unclear to me, since I don't have that muc
experience with VBA.
According to the 'help', first I need to declare a Private Sub
something like this:
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, _
ByVal Target As Excel.Range)
Dim appWD As Word.Application
End Sub
Now, if my understanding us good, this should remind the selected ro
number, and put it into Target
My question is: how do I transfer that value into my macro?
I have tried something like this:
Sub Test()
Dim RowNo As Range
RowNo = Target.Address
Sheets("Data").Select
Range("A" & RowNo).Copy
Sheets("Template").Select
Range("B3").Select
But the program returns some rude message!
Whata...?
Cheers
I was sure there must be a way to do this dinamically, what's the us
of programming otherwise?!
Still, it seems pretty unclear to me, since I don't have that muc
experience with VBA.
According to the 'help', first I need to declare a Private Sub
something like this:
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, _
ByVal Target As Excel.Range)
Dim appWD As Word.Application
End Sub
Now, if my understanding us good, this should remind the selected ro
number, and put it into Target
My question is: how do I transfer that value into my macro?
I have tried something like this:
Sub Test()
Dim RowNo As Range
RowNo = Target.Address
Sheets("Data").Select
Range("A" & RowNo).Copy
Sheets("Template").Select
Range("B3").Select
But the program returns some rude message!
Whata...?
Cheers