ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Putting correct values in cells (https://www.excelbanter.com/excel-programming/308099-putting-correct-values-cells.html)

Nick

Putting correct values in cells
 
I have a document that has 2 worksheets. i want to pull
information from one to the other e.g. i want to pull the
first record that has "cdt" as a reference into a
specific cell on the read worksheet. If cdt is not in the
information worksheet then no record will be shown

Thanks

Nick

Tom Ogilvy

Putting correct values in cells
 
set rng = somerangeonsheet1.find("cdt")
if not rng is nothing then
rng.entirerow.copy Destination:= _
somespecificrangeinsheet2incolumnA
End if

--
Regards,
Tom Ogilvy

"Nick" wrote in message
...
I have a document that has 2 worksheets. i want to pull
information from one to the other e.g. i want to pull the
first record that has "cdt" as a reference into a
specific cell on the read worksheet. If cdt is not in the
information worksheet then no record will be shown

Thanks

Nick





All times are GMT +1. The time now is 05:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com