Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom views in excel keep changing Julia AL Excel Discussion (Misc queries) 2 December 28th 06 08:34 AM
outlok today [ display name ] drpepper Excel Discussion (Misc queries) 1 November 16th 05 03:15 PM
"custom Views", column widths not changing DesM Excel Discussion (Misc queries) 0 August 8th 05 10:22 AM
Changing pivot table views with a macro Roberto Hernandez Excel Programming 0 March 8th 05 04:45 PM
changing pivot table views with a macro Baileys Cigs Excel Programming 2 February 2nd 05 08:29 PM


All times are GMT +1. The time now is 07:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"