Macro Help

  • Thread starter Thread starter zac
  • Start date Start date
Z

zac

Hi,

I have some excel files.
I am consolidating them using a Macro.
In this process I wanted to store the Row ID of the cell in the excel
files with a text "Total" to a variable in the macro.
How can I do this.

Thanks in advance
Shaiju
 
Something like this

cell = Columns("A").Find("Total")
If Not cell Is Nothing Then

RowId = cell.Row

'etc.
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top