Results 1 to 27 of 27

Thread: [RESOLVED] [Excel 2003] Excel 2003 coding VBA help needed

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    14

    Resolved [RESOLVED] [Excel 2003] Excel 2003 coding VBA help needed

    Hi all,

    I am developing a rudimentary, and what I intend to be a very simple inventory program to track my IT assets within my company, I won't have more than 500 items to potentially track so I'm trying to eliminate the need for a database program or some overly-complex system.

    WHat I want to do is create a VB Form in Excel that has a text box, and when something is input into that text box (A simple value from a barcode scanner) the input is put in, and then searched for in my Spreadsheet and any values that I would like to display are displayed in corresponding text boxes, or I can manually input values in and then have a button to either save the data to a new record or row in my spreadsheet or delete it from the spreadsheet.

    how do I do this? I'm completely lost.

    I'm a novice Office user, and Novice code-writer at that so any help would be apppreciated.

    Thanks!

  2. #2
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Welcome to the forums

    I'm a novice Office user, and Novice code-writer at that so any help would be apppreciated.
    How much time do you have to learn it?
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    14

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    I have time to learn, and I am trying to read what I can, and remember what I've learned in the past but I admit i'm extremely rusty.. if not a total novice again. I'm familiar with Excel, but not the VBA side of it

  4. #4
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Quote Originally Posted by Silverbreez View Post
    I have time to learn, and I am trying to read what I can, and remember what I've learned in the past but I admit i'm extremely rusty.. if not a total novice again. I'm familiar with Excel, but not the VBA side of it
    In that case We can help you

    Do you want to manually type the value in the textbox or scan it into the textbox from a barcode scanner?
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  5. #5

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    14

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    My Plan was to have the value be scanned in, the barcodes i have are a simple alphanumeric string.. first two letters are location, next letter is for monitors only, then a 3 number designation.

    For example.. I have a workstation SB010 and it's monitor is SBM010 for the monitor designation.

    I just want to have it where I have a running list of values say 010 to 500.. static (I'm a small company) and when I scan the barcode right now it auto-inputs the text from it, but in this instance it would be into a text box. then it would search for and display (if there was any..) data into the text boxes for the other 3-4 pieces of data i'm tracking. otherwise it would be blank, and I would manually input values and click a button to save it into my spreadsheet or another button to delete it from the spreadsheet.

    also, the total monetary value that I have calculated in a formula i would like to keep displayed on the form as a label so that when entering a new machine it would update my total value of my assets.

    Hopefully i'm not getting to complex, but that's the entirety of what I'm attempting to do. sof far i have a spreadsheet with all my current data that I would like to use as a data source if possible.

  6. #6
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Ok to begin with, which bar code reader are you using? Do you have an SDK kit with the bar code reader?
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  7. #7

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    14

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Unfortunately I do not have an SDK for it

  8. #8
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Check the manufacturer's site for details. Without it we will not be able to scan values in vba... If I am not wrong...

    Are you okay to type values manually for the time being...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  9. #9

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    14

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    currently, I have it working with my personal workstation, and it scans in my barcodes, and whatever program I have open that accepts input it inputs the correct data from the barcode. but if I have to for the moment yes, i'm ok with manually entering data

  10. #10
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Okay

    Your first lesson

    http://www.contextures.com/xlUserForm01.html

    Confirm that you understand this once you are done, we will take it from there...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  11. #11

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    14

    Thumbs up Re: [Excel 2003] Excel 2003 coding VBA help needed

    Quote Originally Posted by koolsid View Post
    Confirm that you understand this once you are done, we will take it from there...
    I understand

    I went through the lesson twice, and added the form from the lesson (With my own tweaks from my data and setup) to my spreadsheet and tested it's functionality. It works perfectly so far to add data where I want to add it and how I want it added.

    Next i need to know how to do the reverse, and delete a line from the database, or edit an existing one. great information thanks so much for the help thus far!

  12. #12
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Lesson 2

    Understand how .Find works

    Search this forum and you will find plenty of examples...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  13. #13
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    A barcode scanner works just like a keyboard. Set the input focus to your textbox, scan your barcode and the numbers will be automatically entered.

    Check your manual to see if a carriage return is automatically appended or if its a setting.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  14. #14

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    14

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Thanks RobDog, the scanner works great at the mement, no carriage return, and for the moment I have no program to change that setting.

    Also, been searching and looking at the .find command, but not sure I fully understand what it's doing or how it's doing it. at least from my own perspective.

    forgive my "N00bness"

  15. #15
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    .Find is the fastest way to search for something in an Excel sheet.

    This will be used to find a text in your workbook and when found, we can either delete the row which has that text or edit as per your requirements...

    Let me know if you want an example for the above?
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  16. #16

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    14

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Code:
    '~~> Search srchstring if it already exists
    Set aCell = ws.Cells.Find(What:=srchctring, LookIn:=xlFormulas, _
    LookAt:=xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
    MatchCase:=False, SearchFormat:=False)
    
    If Not aCell Is Nothing Then
    '~~> If Found
    '~~>Your code here for copy and paste special
    Else
    '~~> If not found
    MsgBox "Not Found"
    End If
    I've been looking at this code, but the find srchstring and the rest of the arguments don't make sense to me

    do i have to hard-code each thing i would ever want to search for? or how can i use the value input into a textbox, like the ones I just learned in the above posts, to be input into the find string.

  17. #17
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Here is an example...

    Hope it helps...
    Attached Files Attached Files
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  18. #18

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    14

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    I kind of understand, but the code in the macro doesn't quite click for me. the search & delete button is exactly what I want, but is there a way code-wise to instead of hard-code a value to search for, .. instead popup a simpe message box with a text box to imput what you want to search for and delete?

  19. #19
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Yes search the forum on inputbox()
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  20. #20

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    14

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Perfect! I made the inputbox exactly where I wanted it,
    Last edited by Silverbreez; Oct 9th, 2009 at 03:34 PM.

  21. #21
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Gr8! If your query is resolved then do remember to mark the thread resolved

    Check the link in my signature on how to do it...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  22. #22

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    14

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Hmm, i made the input box and it works the way I like, however i discovered an unwanted function.. when the input box comes up it has either an "ok" button or "Cancel" button, when you click cancel, it deletes the first row in the spreadsheet. how do I nullify that from happening?


    Here's my Code:

    Code:
    Private Sub cmdDelete_Click()
    Dim iRow As Long
    Dim ws As Worksheet
    Set ws = Worksheets("Workstations")
    
    Dim aCell As Range, intRow As Long
        Dim srchstring As String
            
        '~~> Looking for the string
        srchstring = InputBox("Enter ID you wish to Remove")
        
        '~~> Search srchstring
        Set aCell = ws.Cells.Find(What:=srchstring, LookIn:=xlValues, _
        LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
        MatchCase:=False, SearchFormat:=False)
        
        If Not aCell Is Nothing Then
            '~~> If Found
            intRow = aCell.Row
            Rows(intRow).Delete
        Else
            '~~> If not found
            MsgBox "Not Found"
        End If
    End Sub

  23. #23
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Code:
    Private Sub cmdDelete_Click()
        Dim iRow As Long, ws As Worksheet
        Set ws = Worksheets("Workstations")
    
        Dim aCell As Range, intRow As Long
        Dim srchstring As String
            
        '~~> Looking for the string
        srchstring = InputBox("Enter ID you wish to Remove")
        
        If Len(Trim(srchstring)) = 0 Then
            MsgBox "There is nothing to search"
            Exit Sub
        End If
        
        '~~> Search srchstring
        Set aCell = ws.Cells.Find(What:=srchstring, LookIn:=xlValues, _
        LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
        MatchCase:=False, SearchFormat:=False)
        
        If Not aCell Is Nothing Then
            '~~> If Found
            intRow = aCell.Row
            Rows(intRow).Delete
        Else
            '~~> If not found
            MsgBox "Not Found"
        End If
    End Sub
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  24. #24

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    14

    Talking Re: [Excel 2003] Excel 2003 coding VBA help needed

    perfect Koolsid I must say.. Thank you for all your help, and everyone else too!! this is working better than I had hoped! still putting finishing touches on it though...

  25. #25
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    Quote Originally Posted by Silverbreez View Post
    perfect Koolsid I must say.. Thank you for all your help, and everyone else too!! this is working better than I had hoped! still putting finishing touches on it though...
    Gr8!

    Do remember to come back and mark your thread resolved if your query is solved. Check the link in my signature on how to mark the thread resolved
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  26. #26

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    14

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    ok,

    so far with help (read: Koolsid...) I've created my working spreadsheet complete with forms and working buttons on each that do what I want.

    I would also like to have a button to search the spreadsheet for a certain value, and when found display the row's information in appropriate text boxes on the associated form. (ie.. i want to search by Asset ID.. and then be able to pull up individual asset's data into the form, from the spreadsheet.

    how do I map the values in reverse back into a textbox?

  27. #27
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: [Excel 2003] Excel 2003 coding VBA help needed

    I guess this kind of queries have already been covered in the forum... search them. If you get stuck, simply post and we will definitely help
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width