LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.office.developer.vba,microsoft.public.office.developer.automation,microsoft.public.access.modulesdaovba
external usenet poster
 
Posts: 23
Default Excel won't close properly

"Dale Fye" wrote in message
...
OK,

After a little more research, I found that I was leaving out the
reference to the application object when I used the "With Selection"
syntax. When I replaced:

With Selection

with

With xlApp.Selection

There were also a couple of instances where I was using a syntax that
looked like:

Seletion.Font.Bold

or something along those lines. When I prepended the application
object to all of these, it resolved my problems.

Hope this helps someone else.
Dale



Appreciate it Dale. This may indeed be of use for me. I don't have
opportunity to investigate just now, but am saving this post for future
reference.

--
Clif


 
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
why do all excel worksheets/workbooks close when I close one? Penny Excel Discussion (Misc queries) 1 November 29th 06 03:49 AM
Excel won' close properly Rob Excel Discussion (Misc queries) 2 February 22nd 06 04:27 AM
Not close thead when I close excel wakeup[_3_] Excel Programming 0 December 5th 05 08:57 AM
Excel shoud not close all active books when clicking close button technomike Excel Discussion (Misc queries) 0 June 10th 05 05:35 PM
excel - Windows close button (x) should only close active workboo. CoffeeAdict Setting up and Configuration of Excel 3 February 8th 05 04:30 AM


All times are GMT +1. The time now is 04:05 PM.

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

About Us

"It's about Microsoft Excel"