Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Resizing Ranges

Sue,

It shouldn't make a difference whether you execute the code
normally or step through it in the debugger. Perhaps you could
provide the code in question and an explanation of what "doesn't
work" means.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Sue McCain" wrote in message
...
I'm trying to resize ranges with VBA. When I step through
the routine using the debugger, it works fine. When I do
it in the midst of a program with fifteen or so ranges to
resize, and run it without stepping through it, it doesn't
work. Is there a timing issue here? Why would it work when
I do it one step at a time, but not when I do many steps
without the debugger?



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Resizing Ranges

Thanks Chip. I found out why it was acting so erratically--
I had a sheet with named ranges that I was using as a
template--making a copy of it and working with the named
ranges on the copy. That made everything go haywire,
apparently. Once I got rid of the template and copies, and
worked on an original sheet, not a copy, all went well.
-----Original Message-----
Sue,

It shouldn't make a difference whether you execute the

code
normally or step through it in the debugger. Perhaps you

could
provide the code in question and an explanation of

what "doesn't
work" means.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Sue McCain" wrote in message
...
I'm trying to resize ranges with VBA. When I step

through
the routine using the debugger, it works fine. When I

do
it in the midst of a program with fifteen or so ranges

to
resize, and run it without stepping through it, it

doesn't
work. Is there a timing issue here? Why would it work

when
I do it one step at a time, but not when I do many steps
without the debugger?



.

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
Cell resizing Kathleen Excel Worksheet Functions 12 July 23rd 08 04:57 PM
Resizing a sheet shakey1181 Excel Discussion (Misc queries) 4 August 17th 06 05:17 PM
Resizing cells in a selection without resizing entire sheet Danielle via OfficeKB.com Excel Discussion (Misc queries) 4 August 11th 06 10:06 PM
Resizing cells Lyn Excel Discussion (Misc queries) 1 May 24th 06 10:13 PM
Resizing a listbox kiloez Excel Discussion (Misc queries) 0 January 10th 06 01:01 AM


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