Results 1 to 7 of 7

VBA : Input form : Copy column and paste special value in another column

Threaded View

  1. #6
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Cool Try this !


    According to your attachment :

    • first in Cal worksheet select all columns after column B then delete them all.

    • As only a single VBA procedure is necessary so you must delete entirely the content of Module1
      then paste this starter VBA demonstration - you can rename it - then allocate it to both worksheets buttons :

    PHP Code: 
    Sub Demo1()
       
    With Sheet3
              C
    % = .UsedRange.Columns.Count 1
             
    .[B2].Copy .Cells(2C)
             .
    Cells(2C) = "Supplier " 2
        With 
    .Cells(3C).Resize(7)
             .
    Borders.Weight 2
             
    .HorizontalAlignment xlCenter
             
    .Value2 = [C3:C9].Value2
        End With
             
    .Columns(C).AutoFit
       End With
            
    [C3:C9].ClearContents
    End Sub 
    ► Do you like it ? ► So thanks to click on bottom left star icon « Add Reputation » !
    Last edited by Marc L; 09-04-2023 at 08:15 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy and paste column with special formatting
    By xbr088 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-30-2022, 09:47 AM
  2. Replies: 14
    Last Post: 09-05-2017, 11:32 AM
  3. [SOLVED] Copy Paste Special Using Column Headers
    By phelbin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2016, 02:19 PM
  4. column E copy/paste special values
    By ammartino44 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-14-2015, 06:03 PM
  5. [SOLVED] No experience, special copy and paste column macro
    By shuynh84 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 10-31-2014, 01:10 PM
  6. [SOLVED] Copy Special Paste in the same column
    By iwilli in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2012, 03:38 PM
  7. Macro to copy and paste special values for column data and filter column data
    By ascottbag in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-10-2012, 02:15 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1