Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
When the user clicks on a button I created (call it "update_a"), I would like to: 1. Get the data from cell d48 (call it "index_a") and cell g93 (call it "data_a") in the current sheet s1 in the current workbook w1. 2. Open another workbook w8 in the background. 3. In w8 go to sheet s6 and find the the "index_a" value in column h. 4. If you cannot find "index_a" value in column h, then you display a popup error message "index_a not found". 5. If you find "index_a" in h345 then assign g345 the result of g345 - "data_a" 6. Close workbook w8 in the background. Also, I would like to: a. Ensure that workbook w8 is not visible while it is being opened, updated and closed. b. Interaction with workbook w8 is fast and completely transparent to the user. Please show me the VBA code to do all of the above. Thanks. Luther ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using MSQuery on a tab in the current workbook | Excel Discussion (Misc queries) | |||
Automatically updating a workbook from a different workbook day by | Excel Discussion (Misc queries) | |||
My workbook links are not updating (its 30,000 KB size workbook). | Excel Discussion (Misc queries) | |||
Auto updating a workbook with data from another workbook | Excel Discussion (Misc queries) | |||
how to I refer to current workbook without using its name? | Excel Worksheet Functions |