The Code Cage - Microsoft Office help Free Microsoft Office Help for all Applications!  

To stop seeing these ads and get other benefits check This page!

Go Back   The Code Cage Forums > Members List


The Code Cage Team will become famous soon enough

The Code Cage Team The Code Cage Team is offline

Team Administrator

Visitor Messages

Showing Visitor Messages 1 to 3 of 3
  1. broop
    4th March 2009 09:22 PM - permalink
    broop
    Is it possible to take off an attachment that i uploaded for help? I figured out my one reason for not being able to insert rows, and would prefer not to keep my workbook viewable now?
  2. butrfly_kis3
    31st October 2008 05:53 PM - permalink
    butrfly_kis3
    Good Afternoon,

    I have a macro that each time someone clicks the "Insert Summary Lines"
    button I want it to resize the original range. The macro will copy two lines
    in the current range and insert them, right now I can only get the code to
    select the range and not save it, so when you click on the button again it
    reverts back to the old method. Here is my code:

    Sub Insert_Rows()
    Dim NumRows As Integer
    Dim NumColumns As Integer
    Dim S As Integer
    Dim Summary_Sheet As Range
    Dim Sample As Range



    NumberofRows = Range("Summary_Sheet").Rows.Count
    NumberofColumns = 15
    S = 0
    Set Sample = Range("Summary_Sheet")
    Worksheets("Summary").Activate
    Range("First_Cell").Activate
    Set Sum_Description = Worksheets("Summary").Columns("C").Rows("7")
    Range(Sum_Description.Address).Activate
    Range("Summary_Line").Copy
    Range("Summary_Line").Insert shift:=xlShiftDown, copyorigin:=True
    S = S + 4
    Range("Total_Summary").Copy
    Range("Total_Summary").Insert shift:=xlShiftDown, copyorigin:=True

    Do Until (NumberofRows = NumRows)
    If (S > 0) Then
    NumRows = NumberofRows + S
    NumColumns = NumberofColumns
    Range("Summary_Sheet").Resize(Rowsize:=NumRows, ColumnSize:=NumColumns).Select
    End If
    NumberofRows = NumberofRows + S
    Loop
    ThisWorkbook.Save
    End Sub

    Any suggestions>
  3. The Code Cage Team
    11th August 2008 08:35 AM - permalink
    The Code Cage Team
    Welcome to The Code Cage!, our aim is to make your visit here as informative and enjoyable as possible. If you have any queries or questions please don't hesitate to ask.

    Why not just post me a message to say hello and let me know you visited?

About Me

  • About The Code Cage Team
    Biography
    Slave to the cause!, dedicated to helping out wherever possible!
    Location
    Locked inside this cage
    Flag
    England
    Interests
    Serving the interests of our members and visitors.
    Occupation
    Helping the board run smoothly and dealing with members queries.
    My Microsoft Office Version
    MS Office 97, 2003, 2007
    My Microsoft Office Skill Level
    Proficient with most of MS Office
  • Signature
    Regards,
    The Code Cage Team
    The Code Cage

Statistics

Total Posts
Visitor Messages
Total Thanks
Helpful Postings
  • The Code Cage Team Has Rated 5 Posts
  • The Code Cage Team's Posts have been rated good 1 out of 1 times.
General Information
  • Last Activity: Yesterday 10:08 PM
  • Join Date: 8th August 2008
  • Referrals: 1
Donation System
  • Current Month:
  • Current Year:
  • Since Start:

Contact Info

Instant Messaging
Send an Instant Message to The Code Cage Team Using...
Home Page
http://www.thecodecage.com
This Page
http://www.thecodecage.com/forumz/members/the-code-cage-team.html
The Code Cage Affilliates


To stop seeing these ads and get other benefits check This page!



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


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2
No part of this board may be copied or reproduced either in part or full without the express permission of The Code Cage Team.
We are not associated with nor employed by Microsoft in any way, we simply provide resources!
All MS office icons are registered trademarks of the application the represent