+ Reply to Thread
Results 1 to 3 of 3

How Userform Commandbutton actually Save data into excel sheet?

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    pakistan
    MS-Off Ver
    Excel 2007
    Posts
    89

    How Userform Commandbutton actually Save data into excel sheet?

    Hello Everyone!

    I have a Userform.Which is working perfectly to send data to excel sheet.

    In the userform there is command button (commandbutton1) which is used to send data to excel sheet...This only send data but it actually does not save it into excel sheet.When I close excel sheet it asks do you want to save changes?

    But I need when commandbutton1 is press to send data to excel sheet , it should actually save data into excel sheet.

    Here is code
    Please Login or Register  to view this content.

    Plz Help
    Kind Regards
    z-eighty2

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: How Userform Commandbutton actually Save data into excel sheet?

    In the line above End Sub, enter:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: How Userform Commandbutton actually Save data into excel sheet?

    Hi Z82,

    It seems like you simply need to use
    http://msdn.microsoft.com/en-us/libr.../ff197585.aspx
    before you end your sub.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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. Userform to Search based on Unique ID update and save data in an exel sheet
    By Rosco90 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-17-2013, 04:50 PM
  2. [SOLVED] EXCEL USERFORM- pull data from sheet 1 into userform
    By PANTECH in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2013, 11:10 AM
  3. [SOLVED] VBA Help need for pullout data to new sheet from Master Sheet & save as new file (UserForm
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 33
    Last Post: 01-19-2013, 06:01 PM
  4. Replies: 4
    Last Post: 11-28-2012, 06:09 PM
  5. Commandbutton in userform to execute code based on a previous commandbutton choice?
    By michaeljoeyeager in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-20-2012, 03:28 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