Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default stretching cells

Hi
I have a workbook with two sheets.
Sheet1 has a range of cells A1:A6 which the user inputs
information into.

When they click a button on the sheet, the information in
each of cells in the range on sheet1 is copied into one
cell (A1) on sheet2.

I've managed to get a space between each of the cells by
using Chr(10), but my question is, how do I get the cell
on Sheet2 to display all the text in it - I'd like it to
keep expanding and not to close up when it loses focus.

Many thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default stretching cells

Libby,

after you have transferred the cells, add the line:

Sheets("sheet2").columns(1).autofit

Pete

-----Original Message-----
Hi
I have a workbook with two sheets.
Sheet1 has a range of cells A1:A6 which the user inputs
information into.

When they click a button on the sheet, the information in
each of cells in the range on sheet1 is copied into one
cell (A1) on sheet2.

I've managed to get a space between each of the cells by
using Chr(10), but my question is, how do I get the cell
on Sheet2 to display all the text in it - I'd like it to
keep expanding and not to close up when it loses focus.

Many thanks
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default thanks pete


-----Original Message-----
Libby,

after you have transferred the cells, add the line:

Sheets("sheet2").columns(1).autofit

Pete

-----Original Message-----
Hi
I have a workbook with two sheets.
Sheet1 has a range of cells A1:A6 which the user inputs
information into.

When they click a button on the sheet, the information

in
each of cells in the range on sheet1 is copied into one
cell (A1) on sheet2.

I've managed to get a space between each of the cells by
using Chr(10), but my question is, how do I get the cell
on Sheet2 to display all the text in it - I'd like it to
keep expanding and not to close up when it loses focus.

Many thanks
.

.

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
Excel: match two cells in one sheet to two cells in another and return a third cells value Spence Excel Worksheet Functions 3 February 13th 11 05:33 AM
compare 2 column cells and return the adjacent columns cells data of the cell trebor57 Excel Worksheet Functions 1 February 1st 11 02:54 PM
WordArt - stretching aehdbe Excel Discussion (Misc queries) 0 March 28th 08 06:36 PM
display a range of cells editible cells based on matching date Miki Excel Worksheet Functions 0 October 10th 07 03:27 PM
HELP..Stretching on print out Henry Excel Discussion (Misc queries) 0 April 20th 06 05:30 PM


All times are GMT +1. The time now is 02:53 AM.

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"