ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   changing views from outlok to excel VB Help (https://www.excelbanter.com/excel-programming/413646-changing-views-outlok-excel-vbulletin-help.html)

rivers

changing views from outlok to excel VB Help
 
Hi all just a quick question

i have a macro that runs an outlok query within excel this macro runs fine
but i need the macro to rechange the view from moving the view from excel to
outlook i need it to change back to the excel workbook which started the
macro. ive tried
workbook("Original.xls").activate but nothing happens

any ideas?


thanks

Rivers


Tom Ogilvy

changing views from outlok to excel VB Help
 

Try this:

AppActivate Application.Caption


--
Regards,
Tom Ogilvy

"Rivers" wrote:

Hi all just a quick question

i have a macro that runs an outlok query within excel this macro runs fine
but i need the macro to rechange the view from moving the view from excel to
outlook i need it to change back to the excel workbook which started the
macro. ive tried
workbook("Original.xls").activate but nothing happens

any ideas?


thanks

Rivers


rivers

changing views from outlok to excel VB Help
 
hi tom this still does not work it seems like its locked on outlook when
running the macro

"Tom Ogilvy" wrote:


Try this:

AppActivate Application.Caption


--
Regards,
Tom Ogilvy

"Rivers" wrote:

Hi all just a quick question

i have a macro that runs an outlok query within excel this macro runs fine
but i need the macro to rechange the view from moving the view from excel to
outlook i need it to change back to the excel workbook which started the
macro. ive tried
workbook("Original.xls").activate but nothing happens

any ideas?


thanks

Rivers



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

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