Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 06-16-2012, 02:44 PM
ue418 ue418 is offline macro, data import from the ONLY text file in current folder Windows 7 32bit macro, data import from the ONLY text file in current folder Office 2000
Novice
macro, data import from the ONLY text file in current folder
 
Join Date: May 2012
Posts: 17
ue418 is on a distinguished road
Default Okay, I got it...

I had to change the "Range" part of the command from =Range("A3") to =Range("Sheet1!A3"). Now it works fine, even when I click the macro on Sheet2! Thanks for reading.

Rick
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
macro, data import from the ONLY text file in current folder How to import multiple text file data into word mizankabir Word VBA 7 09-15-2023 10:27 PM
macro, data import from the ONLY text file in current folder PST Import - "Not a Personal Folder File" stucraig.uk Outlook 2 03-30-2011 04:00 PM
macro, data import from the ONLY text file in current folder Word Macro: Save file as text with current file name jabberwocky12 Word VBA 2 10-22-2010 12:23 PM
macro, data import from the ONLY text file in current folder Import Text from File - Line Spacing marshalx Word 2 10-28-2009 02:37 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:04 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft