R
rpick60
I have a list of PDF Manual files in ColumnP in ColumnQ I have VBA
project that when the cell is selected it grabs the file name with
cell.offset 0 -1 and opens the file in column P. My question is how
can have a simple command that would do this to all rows (500) rather
then type seperate if statements for each row. Here is the code I am
using.
If Target.Address(0, 0) = "P9" Then
openpdf
End If
my openpdf macro has this in it to grab the file name
myFileName = ActiveCell.Offset(0, -1)
Does any one have an idea?
Thanks in advanced
project that when the cell is selected it grabs the file name with
cell.offset 0 -1 and opens the file in column P. My question is how
can have a simple command that would do this to all rows (500) rather
then type seperate if statements for each row. Here is the code I am
using.
If Target.Address(0, 0) = "P9" Then
openpdf
End If
my openpdf macro has this in it to grab the file name
myFileName = ActiveCell.Offset(0, -1)
Does any one have an idea?
Thanks in advanced