Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Les Les is offline
external usenet poster
 
Posts: 240
Default Help with Resize

Hi all,

sColumn = A

i have this code - Columns(sColumn).Offset(0, 1).Insert Shift:=xlToRight

It works ok but i want it to resize to 2 columns so that it inserts 2 new
columns at B so that B & C are blank rows.

Any help much appreciated.

--
Les
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Help with Resize

One way:

Columns(sColumn).Offset(0, 1).Resize(, 2).Insert Shift:=xlToRight


In article ,
Les wrote:

Hi all,

sColumn = A

i have this code - Columns(sColumn).Offset(0, 1).Insert Shift:=xlToRight

It works ok but i want it to resize to 2 columns so that it inserts 2 new
columns at B so that B & C are blank rows.

Any help much appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.programming
Les Les is offline
external usenet poster
 
Posts: 240
Default Help with Resize

Thanks very much...
--
Les


"JE McGimpsey" wrote:

One way:

Columns(sColumn).Offset(0, 1).Resize(, 2).Insert Shift:=xlToRight


In article ,
Les wrote:

Hi all,

sColumn = A

i have this code - Columns(sColumn).Offset(0, 1).Insert Shift:=xlToRight

It works ok but i want it to resize to 2 columns so that it inserts 2 new
columns at B so that B & C are blank rows.

Any help much appreciated.


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
I could NOT resize the axis title but excel allows me to resize gr Iwan Setiyono Ko Charts and Charting in Excel 4 June 6th 06 04:46 AM
RESIZE PROPERTY: is it possible to resize "up" and "to the left"? Myles[_57_] Excel Programming 1 March 22nd 06 04:57 AM
I could NOT resize the axis title but excel allows me to resize gr Iwan Setiyono Ko Charts and Charting in Excel 0 March 15th 06 10:34 AM
Resize name box Dave Peterson Setting up and Configuration of Excel 0 January 19th 05 01:01 AM
Need some help with Resize. Thanks John Wirt[_2_] Excel Programming 2 July 31st 03 08:37 AM


All times are GMT +1. The time now is 08:16 PM.

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"