Exporting ACCESS Report To EXCEL
سلام دوستان
به یک مشکلی برخوردم که نتونستم حلش کنم.
اگه کسی بتونه کمکم کنه یه دنیا ممنونش میشم.
کی میدونه کد VBA برای تبدیل یک گزارش اکسس به یک فایل اکسل چیه؟
من چندتا یوزر دارم که البته رییس من هستن.اینا عشق اکسل هستند و گزارشهای اکسسی رو قبول ندارن من میخام یه دکمه روی گزارش بزارم که هرموقع اینا خواستن گزارش رو توی اکسس به اکسل تبدیل کنن برنامه فقط یه مسیر مقصد بپرسه و گزارش اکسس رو تبدبل به یک فایل اکسل بکنه و توی مقصد ذخیرش کنه
پیشاپیش از لطفتون ممنونم
نقل قول: Exporting ACCESS Report To EXCEL
هر چند تو اين سايت نمونه خيلي زياد داريم ولي من كد مربوطه رو با حذف چند آرگومان و به شكل زير استفاده مي كنم . در ضمن پيشنهاد من اينه بجاي اينكه از گزارش خروجي اكسل بگيري از كويري بگير .
DoCmd.OutputTo acOutputReport, "report name", "MicrosoftExcelBiff8(*.xls)", , True, "", 0
نقل قول: Exporting ACCESS Report To EXCEL
مرسي ميدونم سوالم تكراري بود
ولي جواب شما هم تكراري بود دوست عزيز چون اين روش فقط براي ريپورت هاي Tabular جوابگو هست