+ Reply to Thread
Results 1 to 5 of 5

Macro to Copy Data on to several Sheets

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    Macro to Copy Data on to several Sheets

    I have tried to write code to copy data on cell A1 on sheet "Data import" and paste as follows n sheets below:

    1) paste on A1 on sheets Balance Sheet", "Balance Sheet Final Result" ,"Statement of Financial Position", "Stat of Comprehensive Income"
    2) Paste in Cells E1 on sheets "Statement of Changes in Equity", "Cash Flow Statement"


    Please Login or Register  to view this content.
    I get a run time error "Object doe'snt support this propery or Method"


    It would be appreciated if soeone could kindly assist me
    Attached Files Attached Files
    Last edited by Howardc1001; 01-29-2023 at 10:35 PM.

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

    Arrow Re: Macro to Copy Data on to several Sheets


    A VBA demonstration as a beginner starter :

    PHP Code: 
        With ['Data Import'!A1]
            [
    'Balance Sheet'!A1] = .Value
            
    ['Balance Sheet Final Result'!A1] = .Value
    ' and so on ... '
        
    End With 

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Macro to Copy Data on to several Sheets

    1) You are missing one sheet, so grouping sheets will end by the runtime error,
    Please Login or Register  to view this content.
    2) Use of Select Case statement without error.
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,151

    Re: Macro to Copy Data on to several Sheets

    ... or ...
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    Re: Macro to Copy Data on to several Sheets

    Hi Guys

    Many thanks for the help, much appreciated

+ 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. [SOLVED] Macro to copy sheets
    By kent97 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-16-2017, 01:46 AM
  2. [SOLVED] Macro to copy cell width to new sheets (ie copy original sheet format)
    By teenyjem in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-20-2013, 07:28 AM
  3. Macro that will copy from one cell across all sheets except for three sheets.
    By glide2131 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-07-2013, 09:49 PM
  4. macro to copy info to other tab-sheets, then print those sheets
    By zatarra in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-29-2012, 08:02 PM
  5. [SOLVED] Copy Sheets Macro
    By WBTKbeezy in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-24-2006, 03:55 PM
  6. [SOLVED] Macro to copy sheets
    By FGOMEZ in forum Excel General
    Replies: 1
    Last Post: 07-15-2005, 02:05 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