WorksheetFunction does not display result

K

KatTheBird

Hi all

I am trying to manipulate a spreadsheet from within an Access module prior
to importing the data into a database table.

unfortunately the function I am trying to run does not appear to display any
results. That is, the line of code executes without any errors but I do not
receive any results in the target cell.

Can anyone suggest what I am missing??

sh2.Range("a1").Select
sh2.Range("a1").Value = Excel.WorksheetFunction.Left(Range("e1"),
Excel.WorksheetFunction.Search(" ", Range("e1"), 1))
Range(Range("a1").End(xlDown)).FillDown

Thanks in advance
 

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

Top