+ Reply to Thread
Results 1 to 2 of 2

Opening Form Via Button From Worksheet Performs Differently To Running Through VBA Editor

  1. #1
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Opening Form Via Button From Worksheet Performs Differently To Running Through VBA Editor

    I'm sure I'm missing something very basic here, but I have a simple problem.

    I have a form that I wish the user to enter several fields into. Once they are done, they click the confirm button and it posts the information from the form into the 'Raw Data' worksheet.

    When I am in the VBA Editor and I click the "Run Macro" button, it opens up my form, I can enter in all the information and confirm it and it will put all of the data exactly where I want it on the spreadsheet.
    However, if I launch the form from a button I have put on the excel spreadsheet, and enter in the same information, it only pastes the date field, and nothing else. I have no idea why!

    Can anyone help? Workbook attached.
    Copy of Macro test No4 Plant.xlsm

    Many thanks for your anticipated co-operation.
    Did I help? Click *- add to my rep.

  2. #2
    Forum Contributor
    Join Date
    06-09-2011
    Location
    Germany
    MS-Off Ver
    Excel 2016
    Posts
    194

    Re: Opening Form Via Button From Worksheet Performs Differently To Running Through VBA Edi

    Hi Brumbot,

    have a look at the macros where it says:

    Please Login or Register  to view this content.
    You are missing the "." (Dot) before the range. As soon as I add the dots everything works fine


    Let me know if this fixes your issue

    Theo
    Remember To Do the Following....
    1. Upload sample files
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.

+ 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. VB Editor keeps opening everytime i click macro button
    By Purgatory in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2015, 10:02 AM
  2. Opening / Running VBA form via macro
    By English_Bloke82 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-25-2013, 12:49 PM
  3. opening a form with a command button on a data access page
    By kristin31 in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 12-21-2011, 11:08 PM
  4. User form RTE 13 when opening with a command button on a worksheet
    By iaingidley in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-08-2011, 11:50 AM
  5. Replies: 2
    Last Post: 05-21-2005, 07:26 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