+ Reply to Thread
Results 1 to 2 of 2

VBA code to add column at the end of sheet

  1. #1
    Registered User
    Join Date
    02-18-2004
    Posts
    55

    VBA code to add column at the end of sheet

    Quick question....I've recorded a simple macro to insert (2) columns at the end of a data set and autofill them down with the value of "1".

    My question is, my data set is dynamic and my last column may not always be "S", how can I force it to the last column in the sheet...Thanks in advance...

    CODE SNIP
    Please Login or Register  to view this content.
    Last edited by pjw23; 11-27-2012 at 01:48 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: VBA code to add column at the end of sheet

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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