Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am looking for a workbook code that runs when the file is opened. In col H I have a formula (=INDIRECT(G8)) which searches data from another series of folders. If the source folder is open it returns either a value or 0. If the relevant source file is closed it returns a #REF. What I would like is a code that looks through all the cells in Col H, if it finds a numerical value or 0 it does a copy/paste values on the cells, if it finds a #REF it does nothing. The file is a update folder so the REFs will be in the future and the values in the current/past which i need to keep to stop updates and allow the values to be viewed irrespective of which folders are opened/closed. Is this possible? Thanks LiAD |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy and paste code | Excel Programming | |||
copy and paste using vb code | Excel Discussion (Misc queries) | |||
Got the Copy/Cut Code But what is the Paste Code | Excel Programming | |||
Help-Copy&Paste code | Excel Programming | |||
Need Help with Code - Copy & Paste | Excel Programming |