?
Solved

access vba  - textbox in worksheet

Posted on 2014-04-29
2
Medium Priority
?
1,051 Views
Last Modified: 2014-04-29
Hello

There is textbox3 on sheet1 of a workbook. I am in access and using accessvba. Now how in access VBA – I can do this >
Go to textbox3 of sheet1 of workbook and make it display “show”

?

Thank you
0
Comment
Question by:Rayne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 40030407
test this codes

Sub postToXL()
     Dim xlObj As Object
     Set xlObj = CreateObject("Excel.Application")
          xlObj.workbooks.Open CurrentProject.Path & "\book1.xlsx"
          With xlObj
               .Worksheets("sheet1").textbox3.Select
               .Worksheets("sheet1").textbox3.Text = "Show"
               .Visible = True
          End With
          xlObj.Quit
End Sub
0
 

Author Comment

by:Rayne
ID: 40030429
Thank you Rey
:)
Works great
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question