#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default Help appreciated

Any help please appreciated..

It seems I need to hit the command button twice in order for the code ito do
the rezisng of the range properly. (60 rows and variable number of
columns).If i hit the button only once it resets the range to something
totally different. What is wrong???


Private Sub AddParameters_Click()
Dim i As Integer
Dim EngineRange As Range
Dim Col As Integer
Dim NewEng_Range As Range


Set EngineRange = Range("Eng_Range")
i = 60
Col = 1
Do
Col = Col + 1
EngineRange.Resize(i, Col - 1).Name = "Eng_Range"

Loop Until IsEmpty(EngineRange(Col))

EngineRange.Resize(i, Col - 1).Name = "NewEng_Range"


End Sub
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
Help would be much appreciated! Daptin Excel Worksheet Functions 2 November 24th 06 03:50 AM
Any help much appreciated Ryk Excel Discussion (Misc queries) 0 July 31st 06 04:59 PM
Can't quite get what I want with bar chart; help appreciated Newsman Charts and Charting in Excel 0 February 9th 06 12:38 AM
TAN different to a calculator? Please help would be appreciated lo !!HELP!! Excel Worksheet Functions 5 December 15th 05 08:43 PM
Hello, again Help is appreciated Greegan Excel Worksheet Functions 0 December 17th 04 02:54 PM


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