Results 1 to 6 of 6

VBA Code Writing Help

Threaded View

vhoffman VBA Code Writing Help 04-20-2022, 12:35 PM
MarvinP Re: VBA Code Writing Help 04-20-2022, 12:56 PM
Glenn Kennedy Re: VBA Code Writing Help 04-20-2022, 01:07 PM
vhoffman Re: VBA Code Writing Help 04-20-2022, 02:41 PM
Glenn Kennedy Re: VBA Code Writing Help 04-20-2022, 04:18 PM
torachan Re: VBA Code Writing Help 04-21-2022, 03:58 AM
  1. #1
    Registered User
    Join Date
    04-20-2022
    Location
    Chicago, Illinois
    MS-Off Ver
    2020
    Posts
    7

    VBA Code Writing Help

    Hello,

    I am looking to create two separate buttons using VBA and have not been able to successfully write a working code for either.

    I am trying to have both these buttons edit every Excel file in the same folder as the excel workbook containing the button and every sheet within each Excel workbook.

    1. For the first button I am hoping to add data to three columns within a given range of a workbook and to have this data displayed on the next available line. To clarify, each sheet in each workbook has the same Bill of materials template on it, and each bill of material has a revision log within range Q3:U10 (three data columns made larger by merging cells). Each bill of material may have a different number of revisions, so I was hoping the user could be prompted to enter the data for the 3 columns (rev, date, description), and the information will be added to the next available line of each worksheet's revision log. The other buttons I have so far are in a separate workbook and alter all files contained within the same file folder.

    2. Similarly I was hoping to create another button which when pressed would prompt the user to input a part number (Located in column A) and then type a note which would be displayed in the part number's corresponding notes column (column AB). Just like button 1, I was hoping to have this is in separate workbook which would then alter every sheet of every workbook located within the same file folder.

    I realize this is a complicated series of questions. I appreciate any help or any reference information!

    UNDECLARED crosspost here: https://www.mrexcel.com/board/thread...-help.1202810/


    Thank you
    Last edited by Glenn Kennedy; 04-20-2022 at 01:08 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. writing vba code to fill in column of sheet, formula works vba code will not
    By pdx2245 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2019, 05:15 PM
  2. re-writing VBA Code
    By ShakJames in forum Excel General
    Replies: 2
    Last Post: 02-13-2015, 11:05 AM
  3. Writing a Formula using R1C1 code in VBA code
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-15-2014, 11:06 AM
  4. Need Macro to Transfer Data from sheet 2 to sheet 1
    By STU22 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2013, 03:09 PM
  5. Need date wise In and out time for employee ID
    By priyanka.r8523 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2013, 06:30 AM
  6. Need Help on Writing a Code... Please
    By uu_urfriend in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-10-2012, 09:34 PM
  7. writing VBA code
    By donyc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-14-2010, 03:54 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