+ Reply to Thread
Results 1 to 4 of 4

VBA code to copy and paste formats only

  1. #1
    Registered User
    Join Date
    09-12-2018
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    32

    VBA code to copy and paste formats only

    Hello,
    (Again)
    Just gonna ask - best way to copy formats from one range to the remaining columns in a sheet? Using Format Painter is a chore.
    Is there a place that has all of the excel object parameters like Copy and Paste etc . . . That would be damned handy.
    Anyway, thank you and
    Happy eve',
    Shawn

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: VBA code to copy and paste formats only

    Hi Shawn,

    One of the best ways to get in and learn how to use VBA, turn on the macro recorder and record your actions. Turn off the macro recorder and look at the code. It can use some cleaning up, but you will have a start.

    As for the objects, open up the VBE and select F2.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    09-12-2018
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    32

    Re: VBA code to copy and paste formats only

    Hi,
    I should have stated that this isn't my first experience with spreadsheets, macros or programming in general. I find that I learn better from example.
    Using macros as a guidelines, I have found, is overkill and confusing, since the code isn't commented, and, while macros may create a solution they don't explain why the solution works.
    Thank you, anyway. I will continue to look - it's not absolutely necessary, just would've been easier.
    Happy night,
    Shawn

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: VBA code to copy and paste formats only

    Hi Shawn,

    Sorry I wasn't able to help. Happy hunting!

+ Reply to Thread

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 with formats
    By jarhead58 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 09-26-2018, 02:50 PM
  2. [SOLVED] Copy paste values and formats
    By eazy899 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-11-2018, 01:45 AM
  3. [SOLVED] assistance on paste special formats vba code
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-04-2017, 02:51 PM
  4. [SOLVED] How to copy and paste number formats only?
    By Maestro_J in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-12-2017, 05:34 AM
  5. Replies: 4
    Last Post: 10-01-2014, 03:18 PM
  6. VBA code to copy cell formats and paste using offset for Rows/Range
    By spenlinhauer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-12-2014, 07:45 PM
  7. copy and paste cell formats
    By backyardfun in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2014, 12:01 PM

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