Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default Replace Dialog Box Keeps Moving To Bottom After Replacing Text

How do I prevent the Replace dialog box from moving at all within VBA?

Every time I have it find and replace text in VBA, it's moving to the very
bottom of the screen with the lower part of it not even showing. I really
hate this behavior. Right now, I'm going through some major revamping of my
production reporting system, which was initially broke in late 2006 by some
changes that were demanded to take place, which then more or less forced me
to move what formulas I more or less had left on the spreadsheet side to VBA
and not only that, but also forced me to more or less switch from using
standard modules to class modules with the only thing the standard modules
doing is directing. Of course part of that also has required me to use
range names to get around the fact that range references within VBA doesn't
adjust like range references within formulas do, so that's why I have been
forced to use range names, which is also how I learned of the hard code
limit of 65,536 being the maximum number of defined names allowed within a
single workbook, though it's not documented in the spec help file. Even
after half of that limit, the file becomes unstable. As for the limit of
defined names, don't be fooled by it allowing you to continue to work in the
workbook after you exceeded the 65,536 defined names, cause once you have
saved the workbook after exceeding that limit, then close it out, once you
go to open it, it will go into repair mode, which then basically makes the
workbook worthless if you have anything much more than just data, formulas
and VBA code. Pretty much anything else that was done in the workbook,
formats, charts, defined names, all of that stuff is either wiped out or set
to the default settings.

Sincerely,

Ronald R. Dodge, Jr.
Production Statistician
Master MOUS 2000


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default Replace Dialog Box Keeps Moving To Bottom After Replacing Text

I have noticed this too, and have been bugged by it for some time but never
tried to figure out why until now.

Seems the Find/Replace dialog is dependent on the location of the Immediate
window. When possible, it's positioned level with it. Heightening, removing,
or lowering the Immediate window enough seems to make the Find/Replace
dialog play nicer. The behavior is made worse by a taller Taskbar too.

--
Tim Zych
SF, CA

"Ronald R. Dodge, Jr." wrote in message
...
How do I prevent the Replace dialog box from moving at all within VBA?

Every time I have it find and replace text in VBA, it's moving to the very
bottom of the screen with the lower part of it not even showing. I really
hate this behavior.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default Replace Dialog Box Keeps Moving To Bottom After Replacing Text

I see what you mean, it seems it measures the height of the Immediate/Watch
panes, then it takes that same height and measures up from the top of the
task bar edge, then has the top edge of the find/replace dialog box placed
at that point, so by having those 2 panes at a small amount height wise
(which I normally do have it at a small height in most cases, but every now
and then do have it at a larger height point when I'm testing something),
the Find/Replace dialog box's bottom is off the screen on this account. I
can't even see the command buttons, even if the VBE is in "Restore" window
state with ample amount of space between the bottom of that window and the
top of the task bar area.

This is using XLXP, SP3 (VB6.3)
"Tim Zych" <tzych@NOSp@mE@RTHLINKDOTNET wrote in message
...
I have noticed this too, and have been bugged by it for some time but never
tried to figure out why until now.

Seems the Find/Replace dialog is dependent on the location of the
Immediate window. When possible, it's positioned level with it.
Heightening, removing, or lowering the Immediate window enough seems to
make the Find/Replace dialog play nicer. The behavior is made worse by a
taller Taskbar too.

--
Tim Zych
SF, CA

"Ronald R. Dodge, Jr." wrote in message
...
How do I prevent the Replace dialog box from moving at all within VBA?

Every time I have it find and replace text in VBA, it's moving to the
very bottom of the screen with the lower part of it not even showing. I
really hate this behavior.





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
Replace fuction replacing all instead of selected cells mcphc Excel Programming 1 June 29th 06 05:31 PM
Find/Replace Macro with format changes to the replacing number [email protected] Excel Programming 0 June 28th 06 06:08 PM
Using Replace command for replacing a character by an ALT+ENTER Peter from Novartis Excel Worksheet Functions 4 June 16th 06 02:57 PM
How do I replace an asterisk without replacing everything? Trw Excel Discussion (Misc queries) 4 June 9th 06 10:54 PM
Moving Items to bottom of spreadsheet based on criteria Noel Excel Programming 6 January 13th 05 06:03 PM


All times are GMT +1. The time now is 02:36 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"