Excel Macro: Open Sheet in Background and Execute Analysis in Background Sheet -


i relatively new true power in excel - macros/vba , have been tasked set financial model million dollar project. able set , have run smoothly, there's manual input involved. seek simplification through power of vba.

this dilemma:

  1. i need able individually double-click on specific set of cells (in row), open file window allows me select exl file.

  2. once select file, file should preferably opened in temp status (not visible, can run functions , pull info it).

  3. i need macro go opened sheet, conduct simple sumifs function, , record outcome in column of current sheet i'm working from.

i've been doing excel tutorial on lynda in hope seek answers there, think complexity of request demands knowledge of true master.

any appreciated! imagine nice little challenge seek :)

sincere thanks,

try this:

dim appexcel        excel.application set appexcel = createobject("excel.application")  dim wkbk            excel.workbook set wkbk = appexcel.workbooks.open(spathsrc, , false, , , spassword)  ' excel work here  if not wkbk nothing wkbk.close true set wkbk = nothing  if not appexcel nothing     appexcel.displayalerts = false     appexcel.quit end if set appexcel = nothing 

this code access application invoked excel print reports. found necessary sprinkle doevents calls around, while ago; details escape me @ moment.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -