PC Review


Reply
Thread Tools Rate Thread

cannot paste source column width to destination column width

 
 
transkawa
Guest
Posts: n/a
 
      12th Oct 2010


I am using Excel 2007. I want to match a source column width to a
destination column width but the help file guidelines does not seem to
be working well.
I tried Home tab > Clipboard group > copy, for the source width.
then Home tab > Clipboard group > Paste > Paste special > Paste > Column
width radio button.
The destination width does not reflect the changes.
I tried right clicking, still the same failures.
can anyone help resolve this for me?
TIA
--
distresses make us mistresses of our destinies.
http://emekadavid-solvingit.blogspot.com
 
Reply With Quote
 
 
 
 
James Ravenswood
Guest
Posts: n/a
 
      15th Oct 2010
On Oct 12, 9:44*am, transkawa <transk...@yahoo.fr> wrote:
> I am using Excel 2007. I want to match a source column width to a
> destination column width but the help file guidelines does not seem to
> be working well.
> I tried Home tab > Clipboard group > copy, for the source width.
> then Home tab > Clipboard group > Paste > Paste special > Paste > Column
> width radio button.
> The destination width does not reflect the changes.
> I tried right clicking, still the same failures.
> can anyone help resolve this for me?
> TIA
> --
> distresses make us mistresses of our destinies.http://emekadavid-solvingit.blogspot.com




Say we want to copy the column width of column A to column B. Try
this one-line macro:


Sub CopyWidth()
Columns("B:B").ColumnWidth = Columns("A:A").ColumnWidth
End Sub



Macros are very easy to install and use:

1. ALT-F11 brings up the VBE window
2. ALT-I
ALT-M opens a fresh module
3. paste the stuff in and close the VBE window

If you save the workbook, the macro will be saved with it.

To remove the macro:

1. bring up the VBE window as above
2. clear the code out
3. close the VBE window

To use the macro from Excel:

1. ALT-F8
2. Select the macro
3. Touch RUN

To learn more about macros in general, see:

http://www.mvps.org/dmcritchie/excel/getstarted.htm



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a macro which takes a column name and width and sets the column width to what it should be Ag Microsoft Excel Programming 4 29th Sep 2007 11:29 PM
Paste Column Width Language =?Utf-8?B?U3RldmVD?= Microsoft Excel Programming 5 17th Sep 2007 06:26 PM
copy paste (column width prb) Murat D. Hekimošlu Microsoft Excel Programming 2 12th May 2005 03:31 PM
How to paste exact column and width Shannon Microsoft Excel Misc 2 5th Jan 2004 11:29 PM
how paste column width? Ian Elliott Microsoft Excel Misc 1 19th Jul 2003 05:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:40 AM.